Community
Participate
Working Groups
Build Identifier: deby:/opt/eclipse# ./eclipse -debug Start VM: /usr/bin/java -Dosgi.requiredJavaVersion=1.5 -XX:MaxPermSize=256m -Xms40m -Xmx384m -jar /opt/eclipse/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar -os linux -ws gtk -arch x86_64 -showsplash -launcher /opt/eclipse/eclipse -name Eclipse --launcher.library /opt/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.1.R36x_v20100810/eclipse_1309.so -startup /opt/eclipse/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar -exitdata 114000f -product org.eclipse.epp.package.cpp.product -debug -vm /usr/bin/java -vmargs -Dosgi.requiredJavaVersion=1.5 -XX:MaxPermSize=256m -Xms40m -Xmx384m -jar /opt/eclipse/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar Install location: file:/opt/eclipse/ Configuration file: file:/opt/eclipse/configuration/config.ini loaded Configuration location: file:/opt/eclipse/configuration/ Framework located: file:/opt/eclipse/plugins/org.eclipse.osgi_3.6.1.R36x_v20100806.jar Framework classpath: file:/opt/eclipse/plugins/org.eclipse.osgi_3.6.1.R36x_v20100806.jar Splash location: /opt/eclipse/plugins/org.eclipse.platform_3.6.1.v201009090800/splash.bmp Debug options: file:/opt/eclipse/.options not found Time to load bundles: 31 Starting application: 3997 deby:/opt/eclipse# But nothing starts Reproducible: Always
Where did you download? What file did you download? What is its name? What does '/usr/bin/java -version' show?
Also try running with -consolelog option and attach the output. If there is a *.log file under /opt/eclipse/configuration/ please attach it.
I see that there is a problem with "java.lang.UnsatisfiedLinkError: Cannot load 64-bit SWT libraries on 32-bit JVM" But the java version is 64 bit so I don't know what's going on deby:/opt/eclipse# /usr/bin/java -version java version "1.6.0_22" Java(TM) SE Runtime Environment (build 1.6.0_22-b04) Java HotSpot(TM) Server VM (build 17.1-b03, mixed mode) deby:/opt/eclipse# deby:/opt/eclipse# ./eclipse -consolelog !SESSION 2011-02-22 09:24:24.118 ----------------------------------------------- eclipse.buildId=M20100909-0800 java.version=1.6.0_22 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US Framework arguments: -product org.eclipse.epp.package.cpp.product Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.cpp.product -consolelog !ENTRY org.eclipse.osgi 4 0 2011-02-22 09:24:28.267 !MESSAGE Application error !STACK 1 java.lang.UnsatisfiedLinkError: Cannot load 64-bit SWT libraries on 32-bit JVM at org.eclipse.swt.internal.Library.loadLibrary(Library.java:194) at org.eclipse.swt.internal.Library.loadLibrary(Library.java:174) at org.eclipse.swt.internal.C.<clinit>(C.java:21) at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63) at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54) at org.eclipse.swt.widgets.Display.<clinit>(Display.java:132) at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:687) at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161) at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:145) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:88) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) 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:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574) at org.eclipse.equinox.launcher.Main.run(Main.java:1407) at org.eclipse.equinox.launcher.Main.main(Main.java:1383) deby:/opt/eclipse#
Created attachment 189519 [details] log
(In reply to comment #3) > I see that there is a problem with > "java.lang.UnsatisfiedLinkError: Cannot load 64-bit SWT libraries on 32-bit > JVM" > But the java version is 64 bit so I don't know what's going on > > > > deby:/opt/eclipse# /usr/bin/java -version > java version "1.6.0_22" > Java(TM) SE Runtime Environment (build 1.6.0_22-b04) > Java HotSpot(TM) Server VM (build 17.1-b03, mixed mode) Are you sure this is a 64 bit vm? On my machine I get this for java -version: ./jre/bin/java -version java version "1.6.0_22" Java(TM) SE Runtime Environment (build 1.6.0_22-b04) Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode) ^^^^^^ Try the "file" command: file ./jre/bin/java ./jre/bin/java: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), for GNU/Linux 2.4.0, dynamically linked (uses shared libs), not stripped
Andrew, you were right, I changed it, now it is : deby:/etc/alternatives# java -version java version "1.6.0_12" Java(TM) SE Runtime Environment (build 1.6.0_12-b04) Java HotSpot(TM) 64-Bit Server VM (build 11.2-b01, mixed mode) deby:/etc/alternatives# But still i have a problem that it doesn't start: dlaufer@deby:/opt/eclipse$ ./eclipse -consolelog !SESSION 2011-02-22 11:29:03.771 ----------------------------------------------- eclipse.buildId=M20100909-0800 java.version=1.6.0_12 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US Framework arguments: -product org.eclipse.epp.package.cpp.product Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.cpp.product -consolelog !ENTRY org.eclipse.osgi 4 0 2011-02-22 11:29:07.128 !MESSAGE Application error !STACK 1 java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: /opt/eclipse/configuration/org.eclipse.osgi/bundles/197/1/.cp/libswt-pi-gtk-3655.so: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory no swt-pi-gtk in java.library.path /tmp/swtlib-64/libswt-pi-gtk-3655.so: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory Can't load library: /tmp/swtlib-64/libswt-pi-gtk.so at org.eclipse.swt.internal.Library.loadLibrary(Library.java:267) at org.eclipse.swt.internal.Library.loadLibrary(Library.java:174) at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:22) at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63) at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54) at org.eclipse.swt.widgets.Display.<clinit>(Display.java:132) at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:687) at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161) at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:145) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:88) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) 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 org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574) at org.eclipse.equinox.launcher.Main.run(Main.java:1407) at org.eclipse.equinox.launcher.Main.main(Main.java:1383) dlaufer@deby:/opt/eclipse$
It looks like it is not loading GTK, either you don't have a 64bit GTK, or it just is located somewhere other than /usr/lib64. You can check this with "ldd /opt/eclipse/configuration/org.eclipse.osgi/bundles/197/1/.cp/libswt-pi-gtk-3655.so" If you have the GTK libraries under some other path, you can set LD_LIBRARY_PATH
It can not find GTK, but LD_LIBRARY_PATH is actually been set and I see that libgtk-x11-2.0.so.0 is in /usr/lib
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.