JDK-4997307 : Sun JDK 1.4.2 JWS does not recognize OS architecture "x86"; not compatible with
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 1.0.1
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: linux
  • CPU: x86
  • Submitted: 2004-02-19
  • Updated: 2004-06-09
  • Resolved: 2004-04-06
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.
1.4.2_05 05Fixed
Name: dk106046			Date: 02/19/2004

Java Web Start in Sun JDK 1.4.2 does not recognize OS architecture "x86" and is therefore not compatible with other JDK's.
JWS will hit our web site and download an IBM JDK which is part of a    
client runtime and gets installed on the client machine. An application is then downloaded which depends on the IBM JDK (and therefore will run with the IBM JDK).                               

When JWS tries to run the application, it looks to see if the required  
JDK is installed BUT it does not find that the IBM JDK is correct and usable.                    

The JWS code is checking that the os.arch value of the IBM JDK (which is x86) is the same as the os.arch value when the JDK was downloaded. When the IBM JDK was downloaded, the Sun JDK was being run and the os.arch value registered with the IBM JDK was i386. Because the 2 values of os.arch are not the same, JWS does not recognize the IBM JDK and the app fails.  
The JWS in JDK 1.4.1 worked fine on Linux with the IBM JDK.  It did not check the os.arch values. This check was added in the JWS in 1.4.2 and also in 1.5.


CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: 1.4.2_05 generic tiger-beta2 FIXED IN: 1.4.2_05 tiger-beta2 INTEGRATED IN: 1.4.2_05 tiger-b46 tiger-beta2 VERIFIED IN: 1.4.2_05

EVALUATION This is a regression we should fix. when comparing os.arch values we should be more lenient. ###@###.### 2004-03-06 --- The same fix has to be done for the JREPanel.java where it filters out the incompatible jre while listing. ###@###.### 2004-03-18 --- webrev in suggested fix updated. we now only compare osarch if osname is "SunOS". Also we need to apply the same fix in native code as well. ###@###.### 2004-03-19

SUGGESTED FIX http://javaweb.sfbay/~ngthomas/webrevs/4997307/webrev/ ###@###.### 2004-03-15