SWT on Kepler [message #1233285] |
Sun, 19 January 2014 01:04  |
Eclipse User |
|
|
|
Hi!
I'm using eclipse kepler on a 64-bit machine with Ubuntu. I am a complete novice to eclipse, so please bear with me. I needed to use swt, so I installed the jar using eclipse's import. When I ran the code I encountered the error:
Quote:Exception in thread "Thread-0" java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM
This problem has been on here for about 4 days, tried many things to get it to go away, including but not limited to:
installing the 64-bit Jar (org.eclipse.SWT). This gave me an interesting error. It had missing parts of itself, for example a file in this package may have the statement:
import org.eclipse.swt.foo
and then the file foo was nowhere to be found!
Perhaps I downloaded the wrong one. I have looked all over to find the right package, but am very stuck. Please if you know what I need to do, do enlighten me.
Thanks in advance!
|
|
|
|
Re: SWT on Kepler [message #1233952 is a reply to message #1233734] |
Mon, 20 January 2014 17:44  |
Eclipse User |
|
|
|
Thanks for your response, Tom.
I assure you both (jdk and eclipse kepler) are 64-bit. Actually, I had to go and find org.eclipse.swt and import the jar using eclipse because it didn't come included. It appears that is the 32-bit package, but I'm having trouble finding a 64-bit org.eclipse.swt. That's where I'm at right now. As I stated earlier, I tried cloning a git repository with 64-bit swt that wasn't able to run because it was missing some of it's own java files.
[Updated on: Mon, 20 January 2014 17:44] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03333 seconds