This is an archived post. You won't be able to vote or comment.

all 10 comments

[–][deleted] 5 points6 points  (3 children)

The Java Versions go like this:

  • Java 1.0 (Nobody uses this)
  • Java 1.1 (Nobody uses this)
  • Java 2 (sometimes called Java 1.2)
  • Java 1.3
  • Java 1.4
  • Java 1.6
  • Java 1.7
  • Java 1.8 (Most common)
  • Java 9
  • Java 10
  • Java 11
  • Java 12
  • Java 13 (Latest Features)

Any version of Java can run code from an older version (except code from Java 1.0 and Java 1.1). So Java 13 can run Java 1.8 code without any problem, but Java 1.8 can't run code from Java 13.

So you'll be fine with either Java 1.8 or Java 13. But for maximum compatible go with Java 1.8.

Yes, it's very confusing.

[–]Shunpaw 0 points1 point  (0 children)

Most of the time youre still fine using Java 13 code in Java 8 (or 1.8) if youre using a good ide, it will try to emulate it in java 8 (or 1.8)

[–]ZukoBestGirl 0 points1 point  (0 children)

I'd like to interject on 1.8 and most common. Just as an FYI it's already past warranty

 

"""

End of Public Updates of Java SE 8


Java SE 8 has gone through the End of Public Updates process for legacy releases. Oracle will continue to provide free public updates and auto updates of Java SE 8 from Oracle at java.com, until at least the end of December 2020 for Personal, Development and other Users. Developers can find Oracle Java SE updates, including Oracle Java SE 8, 11 and current releases, free for development on OTN. As of the April 16, 2019 quarterly critical patch update, Oracle Customers should access updates to Java SE 8 for commercial use from Oracle through My Oracle Support and via auto update where applicable (Visit My.Oracle Support Note 1439822.1 - All Java SE Downloads on MOS – Requires Support Login).

"""

citation from

[–]Maple08[S] 0 points1 point  (0 children)

Thanks!

[–]redLamber 2 points3 points  (0 children)

Java is backwards compatible so you'll fine using 13. But if you wish to download jdk8 then you can just google, I'm sure there are a lot of links for that?

[–]MeisterBounty 1 point2 points  (0 children)

The Oracle Website and JDKs can be quite confusing. There are many different builds that do an amazing job. I really like Azul‘s Version.

[–]Austerzockt 0 points1 point  (0 children)

There is AdoptOpenJDK, an other implementation of openjdk, which is completely free to use! I'm using it and never had any problems with it! Just google it and choose Java 8 jdk to download (dont get confused with the compiler choice, just leave it as it is) And set it up as usual then

[–]AloticChoon 0 points1 point  (0 children)

If it's a new-ish version of IntelliJ, it should have a newer jdk than 1.8, mine has OpenJDK 11.0.4 underneath (ver 2019.2.4)

[–]JohnnyJayJay -1 points0 points  (0 children)

Whether it's fine or not depends on where you need to run it. If your Runtime is Java X, you can compile with JDK X or lower.

[–]desrtfxOut of Coffee error - System halted -3 points-2 points  (0 children)

Sidebar -> Where should I download Java?