java.lang.UnsatisfiedLinkError: no swt-win32-3062 in java.library.path
843806Jun 12 2008 — edited Jun 13 2008Hi
I have installed JasperAssistant in eclipse 3.2.2. But I am getting the following the error when I am trying to view the reports through the application. This error found only after the installation. Earlier I used to view the reports through the Eclipse.
Exception in thread "Thread-28" java.lang.UnsatisfiedLinkError: no swt-win32-3062 in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:100)
at org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:18)
at org.eclipse.swt.graphics.Device.init(Device.java:564)
at org.eclipse.swt.widgets.Display.init(Display.java:1780)
at org.eclipse.swt.graphics.Device.<init>(Device.java:100)
at org.eclipse.swt.widgets.Display.<init>(Display.java:355)
at org.eclipse.swt.widgets.Display.<init>(Display.java:351)
at com.austco.client.gui.reports.ReportThread.run(ReportThread.java:40)
at java.lang.Thread.run(Unknown Source)
Could you please help me asap.
I tried some of the alternatives found in the web.
1. Changed the VM arguments: -Djava.library.path=${system:ECLIPSE_HOME}/plugins/org.eclipse.swt.win32_3.0.1/os/win32/x86
2. Set the environment variable PATH to the location of the dll.
But this doesn't work.
Your help is very much appreciated. Thanks in advance.