Bug 26457 - [boot] Problems moving from Motif To Gtk Version
Summary: [boot] Problems moving from Motif To Gtk Version
Status: RESOLVED DUPLICATE of bug 27581
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 2.1   Edit
Hardware: PC Linux
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: DJ Houghton CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-15 06:25 EST by andrea CLA
Modified: 2002-12-18 12:33 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description andrea CLA 2002-11-15 06:25:44 EST
Hi Guys,

I am using Eclipse 2.1 with j2sdk_1.4.1_01 on Linux RH 7.3.

I have used Motif Eclipse Version for monts now i decide to move to gtk version.

I was using the Motif Eclipse 2.1 version than I have saved the workspace directory and I have removed the eclipse directoy than I have installed from scracth the Gtk 2 Eclipse 2.1 Version.

This version starts only if the workspace directory is missed. If i copy the Motif Created Workspace directory into the eclipse root directory the gtk Eclipse Version does not start. And a .log file si generated into the .metadata direcory of workspace. In the following I am reporting you the .log file:


!SESSION Nov 15, 2002 12:21:44.310 ---------------------------------------------
java.version=1.4.1_01
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86 -install file:/home/andrea/eclipse/
!ENTRY org.eclipse.core.resources 1 1 Nov 15, 2002 12:21:44.317
!MESSAGE Could not load library: libcore_2_0_5.so.  This library provides platform-specific optimizations for certain file-system operations.  This library is not present on all platforms, so this may not be an error.  The resources plugin will safely fall back to using java.io.File functionality.
!SESSION ----------------------------------------------------------------------
!ENTRY org.eclipse.core.launcher 4 0 Nov 15, 2002 12:21:44.968
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.NoClassDefFoundError: org/eclipse/swt/widgets/Widget
	at java.lang.Class.getDeclaredConstructors0(Native Method)
	at java.lang.Class.privateGetDeclaredConstructors(Class.java:1590)
	at java.lang.Class.getConstructor0(Class.java:1762)
	at java.lang.Class.newInstance0(Class.java:276)
	at java.lang.Class.newInstance(Class.java:259)
	at org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExtension(PluginDescriptor.java:135)
	at org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExtension(PluginDescriptor.java:164)
	at org.eclipse.core.internal.plugins.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:102)
	at org.eclipse.core.internal.runtime.InternalPlatform.loaderGetRunnable(InternalPlatform.java:461)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.eclipse.core.internal.boot.InternalBootLoader.getRunnable(InternalBootLoader.java:440)
	at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:771)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:247)
	at org.eclipse.core.launcher.Main.run(Main.java:703)
	at org.eclipse.core.launcher.Main.main(Main.java:539)

Best Regards,

Andrea
Comment 1 Christophe Cornu CLA 2002-11-15 12:05:46 EST
Moving to Core for comment. This seems to be a problem with plugin loading, 
not directly an SWT issue.
Comment 2 DJ Houghton CLA 2002-11-15 14:34:58 EST
The note in your .log file about the Core library being missing indicates that your install of 
Eclipse is not complete. Are you sure that the SDK zip file was unzipped correctly in your 
directory? 
Comment 3 andrea CLA 2002-11-18 04:17:45 EST
Yes. I am sure to have installed all the four zip files following the same procedures that i have been following from this march.
I have repeated that operation several time in this occasion because I have thought the same thing. I have also downloaded the zip file twice.
I am able to use the gtk version M2 but only starting from a empty workspace or a workspace generated by the Gtk M2.
If I use a workspace generated by a Motif M2 it dosn't work.
If I uninstall the Gtk M2 to move to Motif M2 and I use the original workspace all seems to be Ok.

Best Regards,

Andrea
Comment 4 DJ Houghton CLA 2002-11-23 16:55:41 EST
What are the 4 zips that you are referring to? I only download and unzip 1 zip 
file when a new build comes out....
Comment 5 andrea CLA 2002-11-25 03:26:04 EST
Hi Guys,

With the 4 zips file I referred to the fullinstallaztion: The platform Run Time Binary, The JDT Runtime Binary, the ftp and webdav binary support and the infocenter support.

Now I have moved to M3 release and i have found the same problem on GTK version so I am using the Motif version again.

Best Regards,

Andrea

Comment 6 DJ Houghton CLA 2002-12-17 16:49:16 EST
Marking as duplicate of bug 27581.
Please see Christophe's remarks in the mailing list at:
  http://dev.eclipse.org/mhonarc/lists/eclipse-dev/msg01694.html


*** This bug has been marked as a duplicate of 27581 ***
Comment 7 Christophe Elek CLA 2002-12-17 17:19:16 EST
Andrea, the comments may not apply to you if you didn't use 1126 or 1127 :-)
You may look at bug 9876 instead... which is a bug re switching from motif to
gtk (or vice versa) using the same workspace
Comment 8 andrea CLA 2002-12-18 12:33:47 EST
I have read thr linked the linked bug.
I will try to switch between Motif To GTK version again with M4 as soon as it will be released.
Best Regards,

Andrea