Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » yet another library path issue
yet another library path issue [message #446200] Fri, 19 November 2004 22:54
Doug is currently offline DougFriend
Messages: 1
Registered: July 2009
Junior Member
I cannot get a simple hello world tutorial example to run. This seems to
be a common problem, but I still can't figure it out. I am setting
-Djava.library.path in the VM args. I tried using the ${system:XXX}
macros, but have simplified down to hard paths.

I can clearly see the file swt-win32-3063.dll at:
C:\LocalData\java\eclipse\plugins\org.eclipse.swt.win32_3.0. 1\os\win32\x86
I set -Djava.library.path to that.

I added the following to my main:

String systemLibraryPath = System.getProperty("java.library.path");
System.out.println("path is " + systemLibraryPath);

and see the output so it looks like it is taking effect.
path is
C:\LocalData\java\eclipse\plugins\org.eclipse.swt.win32_3.0. 1\os\win32\x86

But I still see:

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

Thanks in advance,
Previous Topic:ListViewer runtime error
Next Topic:Ghost Image and Cursor
Goto Forum:

Current Time: Wed Oct 21 08:34:32 GMT 2020

Powered by FUDForum. Page generated in 0.01276 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top