Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.lang.UnsatisfiedLinkError: no swt-win32-3062 in java.library.path

843806Jun 12 2008 — edited Jun 13 2008
Hi

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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 11 2008
Added on Jun 12 2008
2 comments
798 views