56

Im a bit confused about how to download openjdk8 for windows.

If I go to http://openjdk.java.net/install/ then under JDK 8 there are only two sections: "Debian, Ubuntu, etc." and "Fedora, Oracle Linux, Red Hat Enterprise Linux, etc.". Where is windows?

user1985273
  • 1,817
  • 15
  • 50
  • 85

1 Answers1

-4

Go to this link

Download version tar.gz for windows and just extract files to the folder by your needs. On the left pane, you can select which version of openjdk to download

Tutorial: unzip as expected. You need to set system variable PATH to include your directory with openjdk so you can type java -version in console.

JDK vs OpenJDK

Adam Ostrožlík
  • 1,256
  • 1
  • 10
  • 16
  • But, how can i tell the difference between openjdk and the regular commercial jdk? On the download link http://jdk.java.net/8/ it isnt explicitly stated that its openjdk. Also if i install it and run java -version i cant find anything stating that its openjdk. – user1985273 Sep 11 '18 at 11:21
  • i will edit my post with tutorial – Adam Ostrožlík Sep 11 '18 at 11:25
  • 2
    Sorry, i didnt make my question very clear. If i go to your link, choose jdk8 from left then on that download page there is no mention that its openjdk. If i still go ahead and download that jdk and install it and puth in on system PATH and then run java -version then i get: "Java(TM) SE Runtime Environment (build 1.8.0_112-b15)". How do i know that this is openjdk? It looks just like the commercial oracle jdk. – user1985273 Sep 11 '18 at 12:42
  • 1
    Jdk is just fork of openjdk, you will not recognizer it I think – Adam Ostrožlík Sep 11 '18 at 19:19
  • 11
    That site simply contains a link to jdk.java.net. Trying to download from there forces you to log into an Oracle account which requires information like job title and company information which most people will not have. – D3_JMultiply May 30 '19 at 06:54