exception in thread "Main" Java. lang. unsatisfiedlinkerror: compilation is normal and running is faulty. if the error is caused by exception in thread "Main" Java. lang. if unsatisfiedlinkerror is followed by a Class Name, this is probably because the Java Program has called the DLL file and cannot find such a DLL file!
Exception in thread "Main" Java. Lang. unsatisfiedlinkerror: No swt-gtk-3
T-GTK in SWT. Library. Path, java. Library. path or the JAR File
At org. Eclipse. SWT. Internal. Library. loadlibrary (library. Java: 23
At org. Eclipse. SWT. Internal. Library. loadlibrary (library. Java: 15
At org. Eclipse. SWT. Internal. C. <clinit> (C. Java: 21)
At org. Eclipse. SWT. Internal. converter. wcstombcs (converter. Java:
At org. Eclipse. SWT. Internal. converter. wcstombcs (converter. Java:
At org. Eclipse. SWT. Widgets. display. <linit> (display. Java: 130)
At hdaty. prtds. rdgadaptor. Gui. testmain. Main (testmain. Java: 35)
I checked a lot of information. Generally, to run the JAR file with SWT, you need to add the corresponding DLL file to Windows/system32.
But the problem here is not just here, but I also need to remove a package. This package is added or removed based on the computer environment.
My package name is org. Eclipse. SWT. GTK. Linux. x86_3.4.1.v3449c.jar.
Remove this package from the classpath path to run it! What are the specific causes for further research!
Make up later! This article is to be continued .....