[Solved] Is java 9 and above still platform independent or not? [closed]


You seem to have misunderstood the Self-Contained Application Packaging ability of Java 9 that looks set to replace Java Web Start as a deployment tool for desktop apps.

JWS used a plain Jar as the deliverable but required that a Java Runtime Environment on the user machine already be installed. On the other hand, the packaging tool will wrap that Jar into an executable suitable for Windows (a .exe) or Unix (a .so) etc. To do so, it would require that the native executable has the parts of the JRE coded for each system (Jars are platform independent but JREs need to be made for each OS).

If you deliver an executable Jar to the user (and inform them they need the Java plug-in installed, to run it), then that Jar will still be compatible for all OS on which Java is supported.

3

solved Is java 9 and above still platform independent or not? [closed]