
We converted the Applet to use a JNLP file locally on the client (codebase="."), and the wrong java class was invoked. When I use appletviewer on the html file, the proper Java 9 class is invoked. When I run from the command line, the proper Java 9 class is invoked. Can someone help me understand why the multi-release JAR is not working as expected? The client machine only has Java JRE 9 181 installed. It looks like the Java 9 specific VersionDependent class of the Multi-release Jar does not get invoked. When I run the Applet by entering this URL of the SERVER ( ) into my browser (Internet Explorer V11) on a client machine running Java JRE 9, everything works correctly it displays "Java 9 version" as expected.īut when I run the Applet by entering this URL ( file:///C:/FOLDER_NAME/testLAC.html) on the same client machine to view the page locally, it unexpectedly displays "Java 8 or earlier version". Its method "version" should display "Java 9 version" when running on a Java 9 JRE system, and display "Java 8 or earlier version" when running on a Java 8 JRE system. I have a very simplified multi-release jar file with a class named VersionDependent. I am seeing a problem with an Applet using a multi-release JAR, which I hope someone can help me with. Windows 7, 32 bit, running Java 9 build 9+181 Java HotSpot(TM) Server VM (build 9+181, mixed mode, emulated-client, sharing) Java(TM) SE Runtime Environment (build 9+181) C:\Program Files\EMC\Unisphere VNX Client>java -version
