Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Problems launching RCP client with Java 6
Problems launching RCP client with Java 6 [message #460157] Fri, 15 December 2006 09:41 Go to next message
Eclipse UserFriend
We have an app that has been running fine with RCP over WebStart for
more then a year now on Java 1.5

Launching it on the new Java 6 results in a crash with th following
error message dumped in the log:

!SESSION Fri Dec 15 15:38:56 CET 2006
------------------------------------------
!ENTRY org.eclipse.core.launcher 4 0 2006-12-15 15:38:56.158
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.ClassNotFoundException:
org.eclipse.core.runtime.adaptor.EclipseStarter
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:331 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.WebStartMain.basicRun(WebStartMain .java:50)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.WebStartMain.main(WebStartMain.jav a:35)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Any ideas on how to get this to work on Java 6? We're still on RCP 3.1.

Best regards

Soeren Juul Schroeder
Re: Problems launching RCP client with Java 6 [message #460187 is a reply to message #460157] Fri, 15 December 2006 20:05 Go to previous messageGo to next message
Eclipse UserFriend
I think that only Eclipse 3.2+ work with Java 6.

Søren Juul Schrøder wrote:
> We have an app that has been running fine with RCP over WebStart for
> more then a year now on Java 1.5
>
> Launching it on the new Java 6 results in a crash with th following
> error message dumped in the log:
>
> !SESSION Fri Dec 15 15:38:56 CET 2006
> ------------------------------------------
> !ENTRY org.eclipse.core.launcher 4 0 2006-12-15 15:38:56.158
> !MESSAGE Exception launching the Eclipse Platform:
> !STACK
> java.lang.ClassNotFoundException:
> org.eclipse.core.runtime.adaptor.EclipseStarter
> at java.net.URLClassLoader$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:331 )
> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> at
> org.eclipse.core.launcher.WebStartMain.basicRun(WebStartMain .java:50)
> at org.eclipse.core.launcher.Main.run(Main.java:973)
> at org.eclipse.core.launcher.WebStartMain.main(WebStartMain.jav a:35)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at com.sun.javaws.Launcher.executeApplication(Unknown Source)
> at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
> at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
> at com.sun.javaws.Launcher.run(Unknown Source)
> at java.lang.Thread.run(Unknown Source)
>
> Any ideas on how to get this to work on Java 6? We're still on RCP 3.1.
>
> Best regards
>
> Soeren Juul Schroeder
Re: Problems launching RCP client with Java 6 [message #460331 is a reply to message #460187] Wed, 20 December 2006 02:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nospam.see2be.com

Tried upgrading the RCP framework to 3.2.1, but that only made things
wose. Now I'm not even getting an error message! The client just dies on
launch...

Anybody from Eclipse that has a solution to this?

Best regards

Soeren Juul Schroeder


Carnell Washington Jr wrote:
> I think that only Eclipse 3.2+ work with Java 6.
>
> Søren Juul Schrøder wrote:
>> We have an app that has been running fine with RCP over WebStart for
>> more then a year now on Java 1.5
>>
>> Launching it on the new Java 6 results in a crash with th following
>> error message dumped in the log:
>>
>> !SESSION Fri Dec 15 15:38:56 CET 2006
>> ------------------------------------------
>> !ENTRY org.eclipse.core.launcher 4 0 2006-12-15 15:38:56.158
>> !MESSAGE Exception launching the Eclipse Platform:
>> !STACK
>> java.lang.ClassNotFoundException:
>> org.eclipse.core.runtime.adaptor.EclipseStarter
>> at java.net.URLClassLoader$1.run(Unknown Source)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at java.net.URLClassLoader.findClass(Unknown Source)
>> at java.lang.ClassLoader.loadClass(Unknown Source)
>> at java.lang.ClassLoader.loadClass(Unknown Source)
>> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:331 )
>> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
>> at
>> org.eclipse.core.launcher.WebStartMain.basicRun(WebStartMain .java:50)
>> at org.eclipse.core.launcher.Main.run(Main.java:973)
>> at org.eclipse.core.launcher.WebStartMain.main(WebStartMain.jav a:35)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>> at java.lang.reflect.Method.invoke(Unknown Source)
>> at com.sun.javaws.Launcher.executeApplication(Unknown Source)
>> at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
>> at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
>> at com.sun.javaws.Launcher.run(Unknown Source)
>> at java.lang.Thread.run(Unknown Source)
>>
>> Any ideas on how to get this to work on Java 6? We're still on RCP 3.1.
>>
>> Best regards
>>
>> Soeren Juul Schroeder
Re: Problems launching RCP client with Java 6 [message #460333 is a reply to message #460331] Wed, 20 December 2006 05:08 Go to previous messageGo to next message
Eclipse UserFriend
Soeren Juul Schroeder wrote:
> Tried upgrading the RCP framework to 3.2.1, but that only made things
> wose. Now I'm not even getting an error message! The client just dies on
> launch...
>
> Anybody from Eclipse that has a solution to this?
>

Have you rebuild your RCP deployment after Eclipse and compiler version
update? You should also ensure a clean start, most safely done by
deleting the runtime workspace (if possible) and all contents of the
"configuration" directory despite the config.ini file).
I use the Java 1.6 compiler since two weeks w/o any problems in my
RCP app, having done several deployments during this time.

HTH,

Daniel Krügler
Re: Problems launching RCP client with Java 6 [message #460635 is a reply to message #460333] Sun, 24 December 2006 04:44 Go to previous message
Eclipse UserFriend
This will be addressed for 3.2.2. A patch is pending in one of the bug
report of equinox framework or runtime.
Sorry for not providing the details, I don't have access to everything where
I'm from.

"Daniel Kr
Previous Topic:Open form view with data
Next Topic:updateElement called for non visible elements
Goto Forum:
  


Current Time: Sun Mar 23 05:13:19 EDT 2025

Powered by FUDForum. Page generated in 0.04500 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top