UnsatisfiedLinkError in Eclipse standalone SWT app

H

Henry Law

Eclipse 3.0.0 under Windows XP.

I have (as far as I can see) followed the instructions in the cheat
sheet for "Standalone SWT Application" but I have the following error
on running it:

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

I have coded

-Djava.library.path=${system:ECLIPSE_HOME}/plugins/org.eclipse.swt.${system:WS}_3.0.0/os/${system:OS}/${system:ARCH}

in the "arguments" box (and various other variants of it including
hard path names), and verified that

C:\USR\eclipse\plugins\org.eclipse.swt.win32_3.0.0\os\win32\x86\swt-win32-3062.dll

does actually exist in my system. I've also set ECLIPSE_HOME as an
environment variable (just in case), without improving things.

I've also Googled for the error and found only the advice to put in
the -D parameter, but I have done that already. Can someone suggest
somewhere else I might look for an error?
 
H

Henry Law

-Djava.library.path=${system:ECLIPSE_HOME}/plugins/org.eclipse.swt.${system:WS}_3.0.0/os/${system:OS}/${system:ARCH}

Yes; but I'd coded it as "program arguments" rather than "VM
arguments". When I swapped it to the VM window everything worked.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,011
Latest member
AjaUqq1950

Latest Threads

Top