JDK-6204404 : Shortcuts created by 32 bit Javaws running on 64 bit Windows OS point to wrong directory
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 6
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_2003
  • CPU: x86
  • Submitted: 2004-12-06
  • Updated: 2010-04-04
  • Resolved: 2005-09-14
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other JDK 6
5.0u23Fixed 6 b52Fixed
Related Reports
Relates :  
Relates :  
Description
The exe's such as java.exe, javaws.exe should be placed under the correct location. 

Steps to reproduce:

1. Install JRE 1.6.0 Mustang / 1.5.0 UR 32 Java on 64 Bit OS

2. Open the command prompt and try java -version, will give error message saying that the command is not recognized

3. Now launch any demo using by invoking the javawebstart using the command ${system driver}/Program Files(x86)/Java/jre1.6.0/bin/javaws 

4. Create the shortcut by granting the permission for the Desktop Integeration Dialog

5. Now try launching the Cached application using the Shortcut created. 

Expected: The demo application should be launcher properly. 

This is due to javaws.exe is placed under the ${system driver}/Windows/SysWOW64/ dir and actual shortcut link files get pointed to the ${system drive}/Windows/Sytem32/ dir. That's why the java -version is not working as expected.

###@###.### 2004-12-06 11:00:24 GMT

Comments
EVALUATION The exe's are copied by the installer into the correct directories. The problem is the shortcuts created by Java Web Start point to windows/system32/javaws.exe, which is where a 64 bit Java Web Start should be installed. We need to fix it so Config.getSystemJavawsPath() returns C:\Windows\SYSWOW64 when running 32 bit Java Web Start on 64 bit Windows Operating Systems. ###@###.### 2004-12-06 15:44:27 GMT
06-12-2004