What is the best way to develop a Java SWT application on Windows 64Bit with eclipse that runs on a Raspberry Pi 32Bit?
My problem is that I cannot run my compiled applications java -jar app.jar
caused by the wrong nested swt.jar:
Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
no swt-win32-4629 in java.library.path
no swt-win32 in java.library.path
Can't load library: /home/user/.swt/lib/linux/arm/libswt-win32-4629.so
Can't load library: /home/user/.swt/lib/linux/arm/libswt-win32.so`
When I use swt.jar for the Raspberry Pi, I cannot run it on Windows and vice versa. What is the best way to develop and run it with only one assembly? What libraries do I need to install? Should swt.jar be packaged in an .jar executable?
source
share