[Bug 483676] Re: eclipse 3.5.1+repack~2-0ubuntu1 gives 64-bit runtime error on 32-bit system

Dominic Evans oldmanuk at gmail.com
Wed Dec 23 11:33:08 UTC 2009


Definitely seems to be a problem with gcj's compilation to bytecode of
eclipse-3.5.1+repack~2/eclipse-3.5.1/plugins/org.eclipse.swt/Eclipse SWT
PI/common_j2se/org/eclipse/swt/internal/Library.java

Have attached a simple test class to show the difference between a fresh
compile of an identical IS_64 check, versus invoking the SWT loadLibrary
compiled bytecode. This was done with the IBM 1.6 JRE

$ javac -cp .:/usr/lib/eclipse/plugins/org.eclipse.swt.gtk.linux.x86_3.5.1.v3555a.jar IS64.java 
$ java -cp .:/usr/lib/eclipse/plugins/org.eclipse.swt.gtk.linux.x86_3.5.1.v3555a.jar IS64
IS_64: false
Exception in thread "main" java.lang.UnsatisfiedLinkError: Cannot load 64-bit SWT libraries on 32-bit JVM
	at org.eclipse.swt.internal.Library.loadLibrary(Library.java:179)
	at IS64.main(IS64.java:5)


** Attachment added: "Simple IS_64 test class"
   http://launchpadlibrarian.net/37124315/IS64.java

-- 
eclipse 3.5.1+repack~2-0ubuntu1 gives 64-bit runtime error on 32-bit system
https://bugs.launchpad.net/bugs/483676
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list