2

I wanted to try some of the features provided by the java SE 9 (Module System Quick-Start Guide) http://openjdk.java.net/projects/jigsaw/quick-start, when I try to download Java SE 9 jdk I get this statement "Java SE 9 has reached end of support. Users of Java SE 9 should switch to Java SE 10" why is that so, and should I step away from java 9? can someone give me a technical explanation. Thanks

nyulan
  • 311
  • 3
  • 12
  • Java 10 is Java 9 plus some extras. Just use it. –  Jul 16 '18 at 13:47
  • 5
    The message itself says why, doesn't it? "Java SE 9 has reached end of support." – T.J. Crowder Jul 16 '18 at 13:48
  • 1
    We are experiencing some bugs in Java 9 that seem to be fixed in Java 10. If you don’t experience the same, it probably isn’t a valid argument for you, though. – Ole V.V. Jul 16 '18 at 13:50
  • 1
    Oracle changed the release cycle for Java. Now there is a new version of Java every 6 month. See http://www.oracle.com/technetwork/java/javase/eol-135779.html. – Ralf Renz Jul 16 '18 at 13:52
  • 3
    @OleV.V. They don't experience those bugs ***yet***... – Michael Jul 16 '18 at 13:52
  • And then a subsequent question to all the answerers, *why not switch to Java11*? – Naman Jul 16 '18 at 14:57
  • 2
    That one is easy, @nullpointer, because Java 11 is only out in “early access” yet (where I work we are already trying it out and preparing). – Ole V.V. Jul 16 '18 at 17:36
  • So my initial use case is the java 9 module system, base on comments and answers given it turns out that java 10 contain the module system from java 9 http://cr.openjdk.java.net/~iris/se/10/latestSpec/ so I ended using java 10 and later see testing with long term services releases(java11). thanks useful info – nyulan Jul 17 '18 at 09:07
  • I appreciate the quick comeback ;-) – GhostCat Jul 17 '18 at 09:16

3 Answers3

7

For starters, Java 9 is no longer getting patched and there's at least one significant bug which will never be fixed. The new Java release cycle means that long-term support will not be given to every release. If you want a stable platform, you must either migrate to Java 10, and then to Java 11 when it's available (which will receive long-term support), or remain on Java 8.

Also var is cool.

Michael
  • 41,989
  • 11
  • 82
  • 128
5

Because the "service" model for Java has changed significantly (see the Oracle guidance document for example).

There are specific "long term services" releases (the first one will be Java 11).

All other releases are only supported for a limited amount of time (think: the release of the next Java version, plus some courtesy time).

Of course, that is (kind of) the "production environment" answer. When doing a bit of Java development on the side, there is no pressing reason to move on. On the other hand, when you are using some JDK for "education purposes", then you should simply go forward with each new Java version, simply to be able to learn what "latest greatest" Java has to offer.

GhostCat
  • 137,827
  • 25
  • 176
  • 248
3

why is that so, and should I step away from java 9? can someone give me a technical explanation.

The technical reason for the advice is that since it has been EOL'd Java 9 will not receive any more bug fixes or security patches. (Unless you are prepared to pay for a commercial support contract.) See the Oracle Java SE Support Roadmap.

It is up to you to decide whether that is relevant. (It will depend on whether you will be affected by un-fixed bugs ... and that is hard to predict. But you could track the release notes for the Java 10.0.x releases as the come out to see what fixes you may be missing.)

Stephen C
  • 698,415
  • 94
  • 811
  • 1,216