Unable to run 32 bit eclipse on 64 bit machine

Asked by Arun Hiremath

I need to run a 32 bit eclipse on my 64 bit workstation as I have a plugin which works only on 32 bit eclipse.

When I try to do so, I get the following stack trace:
 ./eclipse -consoleLog
!SESSION 2010-08-09 14:59:59.995 -----------------------------------------------
eclipse.buildId=I20090611-1540
java.version=1.6.0_0
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Framework arguments: -product org.eclipse.epp.package.cpp.product
Command-line arguments: -os linux -ws gtk -arch x86 -product org.eclipse.epp.package.cpp.product -consoleLog

!ENTRY org.eclipse.equinox.p2.repository 4 0 2010-08-09 15:00:00.789
!MESSAGE ProvisioningEventBus could not be obtained. Metadata caches may not be cleaned up properly.

!ENTRY org.eclipse.osgi 4 0 2010-08-09 15:00:00.932
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM
 at org.eclipse.swt.internal.Library.loadLibrary(Library.java:182)
 at org.eclipse.swt.internal.Library.loadLibrary(Library.java:159)
 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:131)
 at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:516)
 at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
 at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:143)
 at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:88)
 at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
 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:368)
 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:57)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:616)
 at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
 at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
 at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
 at org.eclipse.equinox.launcher.Main.main(Main.java:1287)

Additional Info:
I have both the 32 bit and 64bit JDK installed o n my machine.

I will try to un-install both and then just install the 32 bit one.. I am afraid that this might degrade overall system performance and might not even work.

Does anyone know of any working solution??

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Arun Hiremath (arun095) said :
#1

This may not be a bug per se.

I just need to know the steps to proceed in this scenario.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

Can you help with this problem?

Provide an answer of your own, or ask Arun Hiremath for more information if necessary.

To post a message you must log in.