Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » WindowBuilder » Trouble Using Created Jar files on Windows (Missing libraries, even when packaged with jar)
Trouble Using Created Jar files on Windows [message #869932] Fri, 04 May 2012 17:16 Go to previous message
Jesse Osiecki is currently offline Jesse Osiecki
Messages: 7
Registered: May 2012
Junior Member
I have a bit of a strange issue. I am developing an application using the WindowBuilder and associated libraries. The program works great on my 32-bit Linux box that I have been developing on. However I have two issues.

1) When running the jar on a 64-bit machine, it fails, which makes sense because I packaged the 32-bit libraries in the jar. If someone knows how to make the jar dual architecture, help would be greatly appreciated.

2) More importantly (as my client is chiefly 32-bit Windows XP as most of the world is) I can't run it on Windows. I actually moved the project over to a windows box, set up the WindowBuilder libraries in Eclipse, and recompiled, and it did work. However when I try to use my jar created in Linux, it fails with a message that I will attach (something about needing swt_gtk libraries). Now I'm somewhat new with java, but isn't the goal interoperability? I just find it strange that WindowBuilder seems to be using platform specific code. That being said, any ways around this (ways to make the program work on multiple operating systems) would be fantastic.

Sincerely,
Jesse
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Windowbuilder too slow in ubuntu
Next Topic:Same code, but designer doesn't work
Goto Forum:
  


Current Time: Wed May 22 11:08:34 EDT 2013

Powered by FUDForum. Page generated in 0.01632 seconds