Java 10 is out in the world now. At Crunchify, we have been working with
Java 9 since long time and recently we have upgraded to Java SE 10 aka JDK 10.0
But let’s go over first thing first.
How to install Java 10 on your laptop first?
Just head over to URL http://www.oracle.com/technetwork/java/javase/downloads/index.html to download latest version of Java.
bash-3.2$ java -version java version "10" 2018-03-20 Java(TM) SE Runtime Environment 18.3 (build 10+46) Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10+46, mixed mode)
What’s new in Java 10?
- Parallel Full Garbage Collection for G1 which improves worst case latencies.
- Local variable type inference.
- The existing Class-Data Sharing feature is extended.
- Are you using Docker? Well, Java 10 is well aware of Docker and more compatible with Docker.
- Are you using unmodifiable collections? Well, Java 10 well supports it now with new APIs.
- You could stop now individual threads rather stopping Parent thread. You are not bound to stopping all Vs. one.
- Java 10 provisions now default set of root authority certificates.
We will keep adding more features and tutorial on Crunchify over next few week. Please stay tuned for more information on Java 10.