Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Problem of InputDialog in Eclipse-motif


Hi, Felix.

Please read this FAQ:
http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform-swt-home/faq.html#missingdll

In future, please use the SWT newsgroup for this type of question.
Here's the "Getting Started With SWT" web page - it tells you how to access and post to the newsgroup:
http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform-swt-home/SWT_Resources.html

Good luck!
Carolyn



"Felix Yuan" <bigbrain_cn@xxxxxxx>
Sent by: platform-swt-dev-admin@xxxxxxxxxxx

03/22/2004 04:46 AM

Please respond to
platform-swt-dev

To
<platform-swt-dev@xxxxxxxxxxx>
cc
Subject
[platform-swt-dev] Problem of InputDialog in Eclipse-motif





Hi,

When I tried to get a string by InputDialog, I got the following exception:

Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-motif-2135
in java.library.path
   at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
   at java.lang.Runtime.loadLibrary0(Runtime.java:788)
   at java.lang.System.loadLibrary(System.java:834)
   at org.eclipse.swt.internal.Library.loadLibrary(Library.java:108)
   at org.eclipse.swt.internal.motif.OS.<clinit>(OS.java:20)
   at org.eclipse.swt.internal.Converter.<clinit>(Converter.java:52)
   at org.eclipse.swt.widgets.Shell.<clinit>(Shell.java:109)
   at TestInputDialog.main(TestInputDialog.java:17)

I use eclipse-SDK-2.1.2-linux-motif with j2sdk1.4.2_01.
But everything is fine when I use the same source in Windows.

The source is:

public class TestInputDialog {

   public static void main(String[] args) {
       org.eclipse.swt.widgets.Shell shell = new
org.eclipse.swt.widgets.Shell();
       org.eclipse.jface.dialogs.InputDialog dialog = new
org.eclipse.jface.dialogs.InputDialog(shell, "Dialog:", "Enter a string",
null, null);
       dialog.open();
       String s = dialog.getValue();
   }
}

Thanks for your help.

Felix
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-swt-dev


Back to the top