Installing under 3.5

SWT Designer allows you to create the views, editors, perspectives, pref pages, composites, etc. that comprise Eclipse SWT & RCP applications and plug-ins.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Installing under 3.5

Postby gregjohnson1024 » Mon Jul 13, 2009 12:04 pm

Hi folks,
I used the 3.5 installation site (http://download.instantiations.com/D2WB ... ate/E-3.5/) and installed all the items (they all said mandatory) but cannot (re)start Eclipse - with a referred to error log that looks like:

!SESSION Mon Jul 13 15:55:18 EDT 2009 ------------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2009-07-13 15:55:18.789
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:556)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)



Does anyone have any ideas what is going on? Did I just hose my 3.5 installation? :(

Cheers,
greg
gregjohnson1024
 
Posts: 4
Joined: Mon Jul 13, 2009 12:01 pm

Re: Installing under 3.5

Postby gregjohnson1024 » Mon Jul 13, 2009 12:11 pm

Hmm, should have mentioned this was under OSX. I saw a mention that Cocoa was not supported - is that still true?
gregjohnson1024
 
Posts: 4
Joined: Mon Jul 13, 2009 12:01 pm

Re: Installing under 3.5

Postby Eric Clayberg » Mon Jul 13, 2009 6:37 pm

gregjohnson1024 wrote:Hmm, should have mentioned this was under OSX. I saw a mention that Cocoa was not supported - is that still true?

Cocoa support was added as of our 7.1 release (in conjunction with Eclipse 3.5).

As to the exception you posted, I have never seen that one before.

Are you using a brand new Eclipse 3.5 installation? Which specific distribution?

A ClassNotFoundException referencing an Eclipse class is highly unusual.

I would be tempted to start over with a clean Eclipse 3.5 install.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: Installing under 3.5

Postby gregjohnson1024 » Tue Jul 14, 2009 7:03 am

I have now done a clean install of Eclipse (RCP package from eclipse.org) for Mac Cocoa. It runs fine. I give it the update site of http://download.instantiations.com/D2RC ... ate/E-3.5/

and restart immediately afterwards. The restart fails with this message:


!SESSION Tue Jul 14 10:54:09 EDT 2009 ------------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2009-07-14 10:54:09.216
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:556)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

I am able to restore Eclipse to working health by taking the original configuration/config.ini file and overwriting the one that has been modified during the SWTDesigner install. The differences are:

% diff config.ini.orig config.ini.postswtdesigner

2c2
< #Fri Jun 19 05:35:47 EDT 2009
---
> #Tue Jul 14 10:48:29 EDT 2009
6c6
< osgi.framework=file\:plugins/org.eclipse.osgi_3.5.0.v20090520.jar
---
> osgi.framework=file\:/Applications/Addons/eclipse35B/Eclipse.app/Contents/MacOS/plugins/org.eclipse.osgi_3.5.0.v20090520.jar
8c8
< osgi.bundles=reference\:file\:org.eclipse.equinox.simpleconfigurator_1.0.100.v20090520-1905.jar@1\:start
---
> osgi.bundles=reference\:file\:/Applications/Addons/eclipse35B/plugins/com.instantiations.common.core_5.5.0.200907131927.jar@4,reference\:file\:/Applications/Addons/eclipse35B/plugins/com.instantiations.common.help_5.5.0.200907131927.jar@4,reference\:file\:/Applications/Addons/eclipse35B/plugins/com.instantiations.common.ui_5.5.0.200907131927.jar@4,reference\:file\:/Applications/Addons/eclipse35B/plugins/com.instantiations.designer.core_7.1.0.200907140651.jar@4,reference\:file\:/Applications/Addons/eclipse35B/plugins/com.instantiations.designer.core.api_7.1.0.200907140651.jar@4,reference\:file\:/Applications/Addons/eclipse35B/plugins/com.instantiations.designer.core.apiImpl_7.1.0.200907140651.jar@4,reference\:file\:/Applications/Addons/eclipse35B/plugins/com.instantiations.designer.core.databinding_7.1.0.200907140651.jar@4,reference\:file\:/Applications/Addons/eclipse35B/plugins/com.instantiations.designer.doc.user_7.1.0.200907140651.jar@4,reference\:file\:/Applications/Addons/eclipse35B/plugins/com.instantiations.designer.jdt.fragment_7.1.0.200907140651.jar@4,reference\:file\:/Applications/Addons/eclipse35B/plugins/com.instantiations.designer.os_7.1.0.200907140651.jar@4,reference\:file\:/Applications/Addons/eclipse35B/plugins/com.instantiations.designer.os.macosx_7.1.0.200907140651.jar@4,reference\:file\:/Applications/Addons/eclipse35B/plugins/com.instantiations.designer.rcp_7.1.0.200907140704.jar@4,reference\:file\:/Applications/Addons/eclipse35B/plugins/com.instantiations.designer.rcp.databinding_7.1.0.200907140704.jar@4,reference\:file\:/Applications/Addons/eclipse35B/plugins/com.instantiations.designer.rcp.databinding.emf_7.1.0.200907140704.jar@4,reference\:file\:/Applications/Addons/eclipse35B/plugins/com.instantiations.designer.rcp.doc.user_7.1.0.200907140704.jar@4,reference\:file\:/Applications/Addons/eclipse35B/plugins/com.instantiations.designer.rcp.nebula_7.1.0.200907140704.jar@4,reference\:file\:/Applications/Addons/eclipse35B/plugins/com.instantiations.designer.rcp.nebula.lib_7.1.0.200907140704.jar@4,reference\:file\:/Applications/Addons/eclipse35B/plugins/com.instantiations.designer.rcp.swing2swt_7.1.0.200907140704.jar@4,reference\:file\:/Applications/Addons/eclipse35B/plugins/com.instantiations.designer.runtime_7.1.0.200907140651.jar@4,reference\:file\:/Applications/Addons/eclipse35B/plugins/com.instantiations.designer.swt_7.1.0.200907140701.jar@4,reference\:file\:/Applications/Addons/eclipse35B/plugins/com.instantiations.eclipse.debug_5.5.0.200907131927.jar@4,reference\:file\:/Applications/Addons/eclipse35B/plugins/com.instantiations.eclipse.startup_5.5.0.200907131927.jar@4,reference\:file\:/Applications/Addons/eclipse35B/plugins/com.instantiations.eclipse.ui_7.1.0.200907131933/@4,reference\:file\:/Applications/Addons/eclipse35B/plugins/com.instantiations.eclipse.util_5.5.0.200907131927.jar@4,reference\:file\:/Applications/Addons/eclipse35B/plugins/com.instantiations.tools_5.5.0.200907131927/@4,reference\:file\:/Applications/Addons/eclipse35B/plugins/org.eclipse.swt.layout.grouplayout_1.1.0/@4,reference\:file\:/Applications/Addons/eclipse35B/plugins/org.eclipse.swt.widgets.baseline_1.1.0/@4
13d12
< eclipse.application=org.eclipse.ui.ide.workbench
15a15
> eclipse.application=org.eclipse.ui.ide.workbench

Does this contain any clues?
gregjohnson1024
 
Posts: 4
Joined: Mon Jul 13, 2009 12:01 pm

Re: Installing under 3.5

Postby Eric Clayberg » Tue Jul 14, 2009 1:36 pm

gregjohnson1024 wrote:Does this contain any clues?

Not that I can see. Eclipse updates the config.ini file, not SWT Designer.

I am also unfamiliar with the contents or format of that file, so those diffs don't mean much in any case. It just looks like SWT Designer is installed.

I have never seen a ClassNotFoundException referencing EclipseStarter before (never even heard of that class before), but it is a base Eclipse class so it does not make any sense that it can't be found.

What version of OSX are you running and on what type of machine?
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: Installing under 3.5

Postby gregjohnson1024 » Tue Jul 14, 2009 1:57 pm

I wonder if this is a bigger problem. It now appears to affect me when installing Subclipse. In case anyone ever comes across this post, the problem was resolved on my machine by reverting the line:

osgi.framework=file\:/Applications/Addons/eclipse35B/Eclipse.app/Contents/MacOS/plugins/org.eclipse.osgi_3.5.0.v20090520.jar
to
osgi.framework=file\:plugins/org.eclipse.osgi_3.5.0.v20090520.jar

Though in fact, I think the problem is that Eclipse used a hardcoded reference to it's bundle name (Eclipse.app) which in my case is invalid - it had been renamed to Eclipse35.app. Off to bugs.eclipse.org with me!

Strange but true. Eric C, thanks for the commentary. No fault of SWTDesigner apparently!
gregjohnson1024
 
Posts: 4
Joined: Mon Jul 13, 2009 12:01 pm

Re: Installing under 3.5

Postby Eric Clayberg » Tue Jul 14, 2009 2:28 pm

gregjohnson1024 wrote:Strange but true. Eric C, thanks for the commentary. No fault of SWTDesigner apparently!

Whew! :-)
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to SWT Designer

Who is online

Users browsing this forum: Google [Bot] and 2 guests