1- install JDK 15.0.1
2- install JDK 8u271 x64
Default java now set back to 8u271.
Running a Java jar file (java -jar software.jar) or java -version select JDK 8u271 x64 by default (latest installed).
But running a jar file by doing a double click on the desktop or from the file explorer still use JDK 15.0.1, while it should use instead JDK 8u271 x64 (default java).
2- install JDK 8u271 x64
Default java now set back to 8u271.
Running a Java jar file (java -jar software.jar) or java -version select JDK 8u271 x64 by default (latest installed).
But running a jar file by doing a double click on the desktop or from the file explorer still use JDK 15.0.1, while it should use instead JDK 8u271 x64 (default java).
- clones
-
JDK-8259215 Default Java version is not updated for double click jar execution
- Closed