Unable to run 32 bit eclipse on 64 bit machine

Bug #615310 reported by Arun Hiremath

This bug report was converted into a question: question #120490: Unable to run 32 bit eclipse on 64 bit machine .

12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
eclipse (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

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??

Revision history for this message
Arun Hiremath (arun095) wrote :

This may not be a bug per se.

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

Changed in ubuntu:
status: New → Invalid
Revision history for this message
Micah Gersten (micahg) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at https://wiki.ubuntu.com/Bugs/FindRightPackage. I have classified this bug as a bug in eclipse.

When reporting bugs in the future please use apport, either via the appropriate application's "Help -> Report a Problem" menu or using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

affects: ubuntu → eclipse (Ubuntu)
Changed in eclipse (Ubuntu):
status: Invalid → New
Revision history for this message
Niels Thykier (niels-thykier) wrote :

Hi

You will need to run eclipse in/with a 32 bit JVM to accomplish this (see eclipse's -vm argument). I am not sure whether it is possible to install a 32 bit JVM on a 64 bit system with APT currently though.

~Niels

Changed in eclipse (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.