When I visit java.com it says that the latest version is Version 8 (Updated 251) and when I visit Oracle it says the latest version of jdk is 14.0, which one of these do I need to install to run java codes on Dr Java?
Asked
Active
Viewed 180 times
-1
-
DrJava's website says [the baseline is Java 2](http://www.drjava.org/run.shtml) so either. – zero298 May 22 '20 at 23:46
-
java.com provides the Java *plugin,* which was dropped after 1.8. That doesn't imply that the latest version of ***Java*** is 1.8. – user207421 May 23 '20 at 01:16
2 Answers
1
Other versions may of course work, but it seems Corretto 8 is the officially recommended version.
From the DrJava web page:
We strongly recommend installing the Amazon Corretto 8 distribution of Open JDK 8 available from the Amazon Corretto download page because this distribution appears to be the most comprehensive and best supported formulation of Open Java 8.

Michael Berry
- 70,193
- 21
- 157
- 216
-
Thank you. Aren't jdk and java the same thing? if the latest version of jdk is 14.0 should the latest version of java be 14.0 as well? To write java programs and run them successfully on any IDE (DrJava) do we install jdk (version 14) or the java (version 8)? – user22546 May 23 '20 at 01:04
-
"Java" is a generic name that's used to mean all sorts from the JRE, JDK, the language itself, sometimes even the JVM. The JDK is what you need to compile & run Java program such as those that you write with DrJava. The latest version is indeed 14.0, but DrJava seems to recommend using version 8, so that's what I'd recommend. By all means try 14 if you want to, but bear in mind it may not work (well, or at all.) – Michael Berry May 23 '20 at 09:58
-1
Kindly note that IDE dose not depend on JDK , so you can download any JDK with your current IDE , but the only differ is feature that you will get with JDK version
hope is clear

Mahdi Al Aradi
- 29
- 4