Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why do I get the error “java.lang.UnsatisfiedLinkError: no swt-win32-2034 in java.library.path.”?

0
Posted

Why do I get the error “java.lang.UnsatisfiedLinkError: no swt-win32-2034 in java.library.path.”?

0

You need to place the SWT JNI libraries that allow Java to use the native widgets in a place where the Java Virtual Machine will find them. The SWT JNI libraries are included in the eclipse download. The location of the libraries depends on the operating system and windowing system of interest. • Windows: • Eclipse 1.0 – {install-dir}\eclipse\plugins\org.eclipse.swt\ws\win32 • Eclipse 2.0 – {install-dir}\eclipse\plugins\org.eclipse.swt.win32_2.0.0\os\win32\x86 • Linux Motif: • Eclipse 1.0 – {install-dir}/eclipse/plugins/org.eclipse.swt/ws/motif • Eclipse 2.0 – {install-dir}/eclipse/plugins/org.eclipse.swt.WS_2.0.0/os/linux/x86 A Java application can be informed of the location of the libraries in several ways: • Set the library path in the VM launch arguments. In the Launch Configuration Dialog of eclipse select the Arguments page, and in the VM arguments field enter: -Djava.library.path={runtime-library-path} Where the runtime-library-path is the absolute path to the directory contain

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123