FULL PRODUCT VERSION :
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b15)
Java HotSpot(TM) Client VM (build 25.45-b02, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Windows 7, Windows 8.1
A DESCRIPTION OF THE PROBLEM :
procedure to show this problem:
1. uninstall all jdk/jre
2. install jdk1.4.2_12
3. install jdk1.8.0_45
4. delete %HOME%\AppData\LocalLow\Sun\Java\Deployment folder if exists
5. start some JWS application
6. application doesn't start.
the point is, if %HOME%\AppData\LocalLow\Sun\Java\Deployment\deployment.properties file doesn't exists, javaws (jp2launcher) launch the following process:
"C:\Program Files\Java\j2re1.4.2_12\bin\javaw.exe" -classpath "C:\Program Files\Java\jre1.8.0_45\lib\deploy.jar" com.sun.deploy.panel.JreLocator
This results in blocking to launch the JWS application.
Killing this process and once deployment.properties file created, this problem won't happen again.
REPRODUCIBILITY :
This bug can be reproduced always.
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b15)
Java HotSpot(TM) Client VM (build 25.45-b02, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Windows 7, Windows 8.1
A DESCRIPTION OF THE PROBLEM :
procedure to show this problem:
1. uninstall all jdk/jre
2. install jdk1.4.2_12
3. install jdk1.8.0_45
4. delete %HOME%\AppData\LocalLow\Sun\Java\Deployment folder if exists
5. start some JWS application
6. application doesn't start.
the point is, if %HOME%\AppData\LocalLow\Sun\Java\Deployment\deployment.properties file doesn't exists, javaws (jp2launcher) launch the following process:
"C:\Program Files\Java\j2re1.4.2_12\bin\javaw.exe" -classpath "C:\Program Files\Java\jre1.8.0_45\lib\deploy.jar" com.sun.deploy.panel.JreLocator
This results in blocking to launch the JWS application.
Killing this process and once deployment.properties file created, this problem won't happen again.
REPRODUCIBILITY :
This bug can be reproduced always.
- relates to
-
JDK-8129223 Avoid invoking older versions of java from javaws launcher.
-
- Resolved
-