United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-4997307 Sun JDK 1.4.2 JWS does not recognize OS architecture "x86"; not compatible with
JDK-4997307 : Sun JDK 1.4.2 JWS does not recognize OS architecture "x86"; not compatible with

Details
Type:
Bug
Submit Date:
2004-02-19
Status:
Closed
Updated Date:
2004-06-09
Project Name:
JDK
Resolved Date:
2004-04-06
Component:
deploy
OS:
linux
Sub-Component:
webstart
CPU:
x86
Priority:
P4
Resolution:
Fixed
Affected Versions:
1.0.1
Fixed Versions:
1.4.2_05 (05)

Related Reports
Backport:

Sub Tasks

Description
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.

======================================================================

                                    

Comments
SUGGESTED FIX

http://javaweb.sfbay/~ngthomas/webrevs/4997307/webrev/
###@###.### 2004-03-15
                                     
2004-03-15
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
                                     
2004-03-19
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


                                     
2004-08-31



Hardware and Software, Engineered to Work Together