FULL PRODUCT VERSION :
JDK 9, JDK 8, JDK 7u55, any later release of JDK 7
ADDITIONAL OS VERSION INFORMATION :
MS Windows x64 OS
A DESCRIPTION OF THE PROBLEM :
If javaws.exe x64 is explicitly used for creation of a desktop shortcut for Java Web Start application, the created shortcut always refers to javaws.exe i586 instead of x64 version on MS Windows x64 OS with both JRE 7u55 i586 and JRE 7u55 x64 installed. Since some Java Web Start applications can be executed only with 64-bit JRE, the users are not able to launch such applications by the created shortcuts.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Install x64 and i586 JRE 9, or JRE 8, or JRE 7 on the host with Windows x64 OS.
2. Create a desktop shortcut for any Java Web Start application, like Notepad demo, by means of "javaws.exe" application from x64 JRE installation. Command line:
"C:\Program Files\Java\<JRE_x64_DIR>\bin\javaws.exe" -import -silent -shortcut http://docs.oracle.com/javase/tutorialJWS/samples/deployment/NotepadJWSProject/Notepad.jnlp
3. Right click on the created shortcut on the desktop, select "Properties", switch to "Shortcut" tab. If "Target" field value starts with "C:\Windows\SysWOW64\javaws.exe" instead of "C:\Windows\System32\javaws.exe", then the bug is reproduced.