I try to test a simple java application with SWT under Mac OS X. I can compile the source file without any problems but if I start the program then the following exception occurs:
java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM
The command to compile is: "javac -classpath .:swt.jar SWTHello.java" The command to run is: "java -d64 -XstartOnFirstThread -cp .:swt.jar SWTHello"
For the SWT library there's only one current osx version on the website so I guess I couldn't download a wrong jar.
Thanks in advance for your help!