Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 255461

Summary: [RCP]Impossible to launch application via Java Web Start : ClassNotFoundException
Product: [Eclipse Project] Platform Reporter: Eric Reboisson <eric.reboisson>
Component: RuntimeAssignee: platform-runtime-inbox <platform-runtime-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: blocker    
Priority: P3 CC: eric.reboisson, tjwatson
Version: 3.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Error Log showing the ClassNotFoundException
none
Command line used to launch the application in standalone mode
none
JNLP file used to deploy the application
none
the startup.jar used to launh the RCP application none

Description Eric Reboisson CLA 2008-11-16 10:36:26 EST
Created attachment 117995 [details]
Error Log showing the ClassNotFoundException

Hello,

We have an RCP application, developped with the Eclipse RCP 3.1.0 framework.

We deploy this application with Java Web Start on clients where JRE 1.5.0_10 is installed and it works fine.

We will migrate soon to the JRE 1.6.0_03 but with this version the application does not work with Java Web Start (we only tried to launch the same JNLP file after installing this new JRE). In fact, the application stops during the launch just after the certification dialog (you will find the log containing a ClassNotFoundException in attachament).

I made a test by launching the application in a standalone mode, I mean by using directly the java -jar command and surprinsingly it works, so I think there is a specific problem with JRE 1.6 , Java Web Start et RCP 3.1

For your information, we use the startup.jar to launch the application (I attached id to th issue).

My fear is that RCP 3.1.0 and JRE 1.6.0_03 are not compatible.

Could you have a look on that ?
Could you give some informations ?
Could you advice me ?
Is there a workarround to avoid this problem ?
Comment 1 Eric Reboisson CLA 2008-11-16 10:38:17 EST
Created attachment 117996 [details]
Command line used to launch the application in standalone mode
Comment 2 Eric Reboisson CLA 2008-11-16 10:39:32 EST
Created attachment 117997 [details]
JNLP file used to deploy the application
Comment 3 Eric Reboisson CLA 2008-11-16 10:40:45 EST
Created attachment 117998 [details]
the startup.jar used to launh the RCP application
Comment 4 Thomas Watson CLA 2008-11-17 09:18:39 EST
Please try the 3.4.1 build.  Several fixes are needed to run on Java 1.6 web start.

*** This bug has been marked as a duplicate of bug 240500 ***