[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [eclipse-dev] java.lang.UnsatisfiedLinkError
|
try: Run As->SWT Application.
For user-question please use the newsgroup
http://www.eclipse.org/newsgroups/index.html
Felipe
"Yu Chen" <yuchen@xxxxxxx>
Sent by: eclipse-dev-bounces@xxxxxxxxxxx
08/04/2005 06:12 PM
Please respond to
"General development mailing list of the Eclipse project."
To
<eclipse-dev@xxxxxxxxxxx>
cc
Subject
[eclipse-dev] java.lang.UnsatisfiedLinkError
I am new to eclipse, I just installed the latest eclipseSDK_3.1M6 & tptp
builds? and wrote my first SWT app by just copying main() from the eclipse
tutorial which is somewhat outdated. Somehow the dll file is not in the
plugins\, but somewhere in the configurations\, so I copied it to the
following location.
-Djava.library.path=C:\eclipse_org_SDK3.1M6\eclipse\plugins\org.eclipse.swt.win32_3.1.0\os\win32\x86
Still, it still can not find swt-win32-3128.dll. Can somebody help me with
this?
Thanks!
-yu
java.lang.UnsatisfiedLinkError: no swt-win32-3128 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:123)
at org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:18)
at org.eclipse.swt.widgets.Display.<clinit>(Display.java:125)
at HelloWorld.main(HelloWorld.java:20)
Exception in thread "main"
public static void main(String[] args) {
Display display = new Display();
Shell shell = new Shell(display);
Label label = new Label(shell, SWT.CENTER);
label.setText("Hello_world");
label.setBounds(shell.getClientArea());
shell.open();
while (!shell.isDisposed()) {
if (!display.readAndDispatch())
display.sleep();
}
display.dispose();
}
_______________________________________________
eclipse-dev mailing list
eclipse-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/eclipse-dev