There used to be Java version 8 for a long time but then Oracle introduced Java 9 for a short while and now Java 10 has arrived with a lot of improvements and fixes. We will share how to download Java 10 offline installers for all Operating Systems and then install the latest version of Java.
This is especially for developers. Now developers don’t have to define the variable types explicitly. They can use the var keyword and the compiler is smart enough to judge which type is defined in the variable contents.
There are a few limitations though. The var keyword only works for local variables and doesn’t work for other types like array, method, constructors etc.
Garbage collector improvements
Java 10 improves on garbage collection as it uses G1 as the default garbage collector with parallel full garbage collection mode enabled by default. This will improve memory leaks and overall system performance.
Application class data sharing improvements
Application class data sharing improvements should improve the overall loading time of Java applications.
Java 10 consolidates the 8 repositories into one for ease of use and functionality.
The native header generation tool Javah has been removed from Java 10.
Heap collection on alternate memory devices.
Java 10 enables shorter startup times in JShell REPL.
API for creating unmodifiable collections.
Java 10 supports multiple stylesheets in Javadoc.
While most of the improvements in Java 10 are geared towards developers, a normal user of Java JRE10 should see improvements in application loading and performance while running Java apps.
At the time of this writing, the complete version number of Java is Java 10 security baseline 10. This is set to expire on 17th May 2018. After this date, Oracle will release a new version of Java and you should update your system. You can either follow itechtics.com for latest news about Java 10 or you can go to Control Panel and update Java from there.
Check installed version of Java
My preferred way of checking Java version on any system is by going to command-line and type java -version. When I was installing Java 10 on my system, the system didn’t recognize the java command even though Java was showing as installed in Windows Control Panel. I had to restart Windows after which java -version command started working fine.
Java 10 full installers
Oracle does not allow linking or hosting Java 10 on any other website. It imposes a terms of agreement which the user must accept to download Java 10. We will share the steps by which you can download the full offline installers of Java 10 JRE as well as JDK.