ENV: win7/x86/jre9-b146;ubuntu16.04/x86/jre9-b146
Steps to reproduce:
1. Install JRE9: jre9-b146
2. Install an older JRE: jre8u111b14
3. Add "http://sqeweb.us.oracle.com" to ESL
4. Load jnlp with old jre: for example, on windows, run: C:\Program Files\Java\jre1.8.0_111\bin\javaws http://sqeweb.us.oracle.com/net/scanas415/export/deployment/crystal/DO_NOT_REMOVE_ME/jrebug/disableJavaManual_NonMultipleJRE/jnlp/testJavawsLaunchOnCLI.jnlp
5. A security dialog will show up. Accept it
6. If the application could not be launched and there's no response after accepting the security dialog, this bug is reproduced.
I can see the following exception from trace:
ExitException[ 0]
at com.sun.javaws.Launcher.relaunch(Unknown Source)
at com.sun.javaws.Launcher.prepareResources(Unknown Source)
at com.sun.javaws.Launcher.prepareAllResources(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.launch(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main.access$000(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
basic: Exiting
See attachment for full trace.
Note: 1. jnlp can get loaded with old jre when jre9-b46 and jre8u111-b14 installed
2. jnlp can get loaded if only jre8u111-b14 installed
3. jnlp can get loaded from jre9 home when jre9-b46 and jre8u111-b14 installed:
C:\Program Files\Java\jre-9\bin\javaws http://sqeweb.us.oracle.com/net/scanas415/export/deployment/crystal/DO_NOT_REMOVE_ME/jrebug/disableJavaManual_NonMultipleJRE/jnlp/testJavawsLaunchOnCLI.jnlp