Skip to main content



      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 11:36 Go to next message
Eclipse UserFriend
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 08:49 Go to previous messageGo to next message
Eclipse UserFriend
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/
Re: Export jar for 32-bit Machine from 64-bit machine [message #689938 is a reply to message #689321] Tue, 28 June 2011 11:59 Go to previous message
Eclipse UserFriend
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: Sat Jul 05 15:57:30 EDT 2025

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

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

Back to the top