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!

Getting SWT/JFace working

richardgundersen-JavaNetApr 30 2003 — edited Apr 7 2005
Hi

OK, I know this is probably the wrong place for this request for help, but I've exhausted every other avenue so hopefully someone would be kind enough to help :)

Basically, I'm trying to get JFace code working in Eclipse and all the examples say I need "org.eclipse.runtime_2.1.0\runtime.jar" in my classpath. The trouble is, I cant find this anywhere - it doesn't seem to be supplied in any of the downloads I have tried, and I cant find it for download anywhere either. It seems to be causing the following exception:

java.lang.UnsatisfiedLinkError: no swt-win32-2116 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:832)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:104)
at org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:42)
at org.eclipse.swt.internal.win32.TCHAR.<clinit>(TCHAR.java:26)
at org.eclipse.swt.widgets.Widget.<clinit>(Widget.java:79)
at org.eclipse.jface.window.Window.createShell(Window.java:314)
at org.eclipse.jface.window.Window.create(Window.java:280)
at org.eclipse.jface.window.Window.open(Window.java:530)
at Hello.main(Hello.java:21)

There is a swt-win32-2116.dll buried in the plugins directory but I would really like to find the elusive runtime.jar.

Does anyone know where this can be found?

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 5 2005
Added on Apr 30 2003
3 comments
155 views