Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Export jar for 32-bit Machine from 64-bit machine
Export jar for 32-bit Machine from 64-bit machine [message #688385] Fri, 24 June 2011 15:36 Go to next message
afry308 is currently offline afry308Friend
Messages: 4
Registered: June 2011
Junior Member
Does anyone know if it's possible to export a JAR for use on a 32-bit machine from a 64-bit machine. In my build path I use org.eclipse.swt.gtk.linux.x86_64_3.6.2.v3659b.jar. Of course this works wonderfully when I'm running my SWT application locally, but when I go to run it on a 32-bit mach it bombs with the expected error:
Caused by: java.lang.UnsatisfiedLinkError: Cannot load 64-bit SWT libraries on 32-bit JVM

I'm using Helios SR2 and my kernel is ubuntu 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux.

Any suggestions would be greatly appreciated!
Andrew

Re: Export jar for 32-bit Machine from 64-bit machine [message #689321 is a reply to message #688385] Mon, 27 June 2011 12:49 Go to previous messageGo to next message
Lakshmi P ShanmugamFriend
Messages: 279
Registered: July 2009
Location: India
Senior Member
Hi,

There are different SWT jars for different platforms and architectures.
In your case you can download the 32 bit SWT jar for gtk and export your jar with it. Link to download the SWT jars --> http://eclipse.org/swt/


Lakshmi P Shanmugam
Re: Export jar for 32-bit Machine from 64-bit machine [message #689938 is a reply to message #689321] Tue, 28 June 2011 15:59 Go to previous message
afry308 is currently offline afry308Friend
Messages: 4
Registered: June 2011
Junior Member
Many thanks! I figured I could download a 32-bit SWT jar file, but couldn't put my finger on the link.
Previous Topic:specifying custom XULRunner installation doesn't work
Next Topic:SWT in Swing breaks in SWT 3.7 on OS X
Goto Forum:
  


Current Time: Tue Apr 23 10:14:52 GMT 2024

Powered by FUDForum. Page generated in 0.03146 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top