What’s new in Java 10
Introduction of var keyword
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.
Single repository
Java 10 consolidates the 8 repositories into one for ease of use and functionality.
Javah removed
The native header generation tool Javah has been removed from Java 10.
Heap collection
Heap collection on alternate memory devices.
Startup times
Java 10 enables shorter startup times in JShell REPL.
API improvements
API for creating unmodifiable collections.
Multiple stylesheets
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.
Expiry Date
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.
For Java 10 JRE
The following downloads are available:
Java 10 JRE for Windows 64-bit [101 MB]Java 10 JRE for Windows 32-bit [76 MB]Java 10 JRE for Linux RPM 64-bit [61 MB]Java 10 JRE for Linux TAR 64-bit [84 MB]Java 10 JRE for MacOS DMG 64-bit [79 MB]Java 10 JRE for MacOS TAR 64-bit [74 MB]
For Java 10 JDK
The following downloads are available:
Java 10 JDK for Windows 64-bit [390 MB]Java 10 JDK for Linux RPM 64-bit [306 MB]Java 10 JDK for Linux TAR 64-bit [339 MB]Java 10 JDK for MacOS DMG 64-bit [396 MB]
Also see:
Download Java 11 Offline Installers For All Operating SystemsDownload Latest Java Offline Installers for All Operating SystemsDownload Java 8 Update 351 (Offline Installers)Download Java 8 Update 341 (Offline Installers)Download Java 8 Update 333 Offline Installers