-
Bug
-
Resolution: Cannot Reproduce
-
P3
-
9
-
x86
-
other
FULL PRODUCT VERSION :
java version "9"
Java(TM) SE Runtime Environment (build 9+181)
Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 10.0.15063]
EXTRA RELEVANT SYSTEM CONFIGURATION :
Standard Java JDK installation with C:\ProgramData\Oracle\Java\javapath being added to the beginning of the PATH.
A DESCRIPTION OF THE PROBLEM :
The splash option "-splash:image.gif" does not work when running C:\ProgramData\Oracle\Java\javapath\java.exe (the installed path location)
java.exe -splash:images\splash.gif - fails
C:\ProgramData\Oracle\Java\javapath\java.exe -splash:images\splash.gif misc.SplashDemo - fails but...
"c:\Program Files\Java\jdk-9\bin\java.exe" -splash:images\splash.gif misc.SplashDemo - works
The jar version fails as well.
REGRESSION. Last worked in version 8u144
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Install Java 9 as the first and only java on a Windows 10 machine
Compile the splash demo as described: https://docs.oracle.com/javase/tutorial/uiswing/misc/splashscreen.html
Run it with no changes to the system path
(i.E. runs java found in C:\ProgramData\Oracle\Java\javapath)
The splash screen does not appear
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The splash screen should appear
ACTUAL -
The splash screen does not appear
ERROR MESSAGES/STACK TRACES THAT OCCUR :
No error messages
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
See SplashDemo.java from https://docs.oracle.com/javase/tutorial/uiswing/misc/splashscreen.html
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Run "c:\Program Files\Java\jdk-9\bin\java.exe" -splash:images\splash.gif misc.SplashDemo
or add "c:\Program Files\Java\jdk-9\bin" to the system path before "C:\ProgramData\Oracle\Java\javapath"
On the jar side. Double-clicking the jar will also work, but java -jar does not (when it uses the java from C:\ProgramData\Oracle\Java\javapath
java version "9"
Java(TM) SE Runtime Environment (build 9+181)
Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 10.0.15063]
EXTRA RELEVANT SYSTEM CONFIGURATION :
Standard Java JDK installation with C:\ProgramData\Oracle\Java\javapath being added to the beginning of the PATH.
A DESCRIPTION OF THE PROBLEM :
The splash option "-splash:image.gif" does not work when running C:\ProgramData\Oracle\Java\javapath\java.exe (the installed path location)
java.exe -splash:images\splash.gif - fails
C:\ProgramData\Oracle\Java\javapath\java.exe -splash:images\splash.gif misc.SplashDemo - fails but...
"c:\Program Files\Java\jdk-9\bin\java.exe" -splash:images\splash.gif misc.SplashDemo - works
The jar version fails as well.
REGRESSION. Last worked in version 8u144
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Install Java 9 as the first and only java on a Windows 10 machine
Compile the splash demo as described: https://docs.oracle.com/javase/tutorial/uiswing/misc/splashscreen.html
Run it with no changes to the system path
(i.E. runs java found in C:\ProgramData\Oracle\Java\javapath)
The splash screen does not appear
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The splash screen should appear
ACTUAL -
The splash screen does not appear
ERROR MESSAGES/STACK TRACES THAT OCCUR :
No error messages
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
See SplashDemo.java from https://docs.oracle.com/javase/tutorial/uiswing/misc/splashscreen.html
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Run "c:\Program Files\Java\jdk-9\bin\java.exe" -splash:images\splash.gif misc.SplashDemo
or add "c:\Program Files\Java\jdk-9\bin" to the system path before "C:\ProgramData\Oracle\Java\javapath"
On the jar side. Double-clicking the jar will also work, but java -jar does not (when it uses the java from C:\ProgramData\Oracle\Java\javapath