Have a purpose of applying and wanted to export .... I have to "FatJar" I then downloaded and installed a test AWT program that is basically just a simple window. This also works as wunederbar everything but my main application was written with SWT, and I TestSWTFenster program with FatJar exported. Happened but not when I want to run the JAR. I call my TestSWT.jar on the console I get the following error message :
Code:
H: \> java - jar jar TestSWT_fat.
Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-win32-3232 in
java.library.path
java.lang.ClassLoader.loadLibrary at (Unknown Source)
java.lang.Runtime.loadLibrary0 at (Unknown Source)
java.lang.System.loadLibrary at (Unknown Source)
at org.eclipse 123) swt. internal.Library.loadLibrary (Library.java:
at org.eclipse internal.win32.OS.. swt <clinit>. (OS.java: 18)
at org.eclipse widgets.Display.. swt <clinit>. (Display.java: 125)
gui at 26.) Gui. main. (Gui java:
I call this without the "- jar" on I get the following message :
H: \> java TestSWT_fat jar.
Exception in thread "main" java.lang.NoClassDefFoundError: TestSWT_fat / jar
So I know that it has anything to do with the classpath, but where and how I set now? So can I put generally in the "windows classpath" but my application is supposed to run on other computers so be an Independent. How do I get it now in the relatively "main.class" to the dll and classes to look? Please help me...
Bookmarks