Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Help: no awt???

2 views
Skip to first unread message

Steve Doliov

unread,
Sep 8, 1996, 3:00:00 AM9/8/96
to

i have tried moving an applet to an application, using the java workshop
dev 6 release. it compiles and runs fin when i start it from
JavaWorkshop. If I try starting it from a command line, i get an error
message which reads
ld.so.1: /opt/SUNWjws/JDK/bin/../bin/i386/java: fatal: libXm.so.3: can't
open file: errno=2 (/opt/SUNWjws/JDK/bin/../lib/i386/libawt.so)
java.lang.UnsatisfiedLinkError: no awt in shared library path
at java.lang.Runtime.loadLibrary(Runtime.java)
at java.lang.System.loadLibrary(System.java)
at sun.awt.motif.MToolkit.<clinit>(MToolkit.java:37)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:191)
at java.awt.Window.getToolkit(Window.java:155)
at java.awt.Frame.addNotify(Frame.java:82)
at java.awt.Window.show(Window.java:106)
at LabStat.init(LabStat.java:40)
at LabApp.main(LabApp.java:17)
java.lang.UnsatisfiedLinkError: init
at sun.awt.motif.MToolkit.<init>(MToolkit.java:41)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:191)
at java.awt.Window.getToolkit(Window.java:155)
at java.awt.Frame.addNotify(Frame.java:82)
at java.awt.Window.show(Window.java:106)
at LabStat.init(LabStat.java:40)
at LabApp.main(LabApp.java:17)

can anyone tell me what is going on???
THANKS,
steve doliov,
doliov @ statsol.com
(email address mangled somewhat to make spammers life harder).

Barry Adams

unread,
Sep 13, 1996, 3:00:00 AM9/13/96
to Steve Doliov, bad...@magus.co.uk

Steve Doliov wrote:
>
> i have tried moving an applet to an application, using the java workshop
> dev 6 release. it compiles and runs fin when i start it from
> JavaWorkshop. If I try starting it from a command line, i get an error
> message which reads
> ld.so.1: /opt/SUNWjws/JDK/bin/../bin/i386/java: fatal: libXm.so.3: can't
> open file: errno=2 (/opt/SUNWjws/JDK/bin/../lib/i386/libawt.so)
> java.lang.UnsatisfiedLinkError: no awt in shared library path

I just solved the same problem on my Ultra running Solaris 2.5.
For some reason unlike the earlier releases, Dev 6 needs the motif
X11 library, libXm.so.3 which it looks for in /usr/libs. It looks
like you (or your System Administator) needs to install the optional
package SUNWmfrun to your system (its in on Solaris 2.5 main cdrom,
i`am not sure where it is the eariler version).
For some reason installing the package puts the library in
/usr/dt/lib, so you'll need to copy (or better still symbolic link)
them to /usr/lib. Hope this helps.

Barry Adams
System Administrator/Java Programmer
Magus Research

0 new messages