X-Received: by 10.224.5.5 with SMTP id 5mr2378996qat.4.1379410933799; Tue, 17 Sep 2013 02:42:13 -0700 (PDT) X-Received: by 10.50.27.37 with SMTP id q5mr687270igg.9.1379410933625; Tue, 17 Sep 2013 02:42:13 -0700 (PDT) Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!d5no250441qap.0!news-out.google.com!gv3ni309qab.0!nntp.google.com!d5no282642qap.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.os.linux.development.apps Date: Tue, 17 Sep 2013 02:42:13 -0700 (PDT) In-Reply-To: <33BAD13E.3B5EA4BA@sc-systems.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=122.169.136.26; posting-account=6tNbRQcAAADJBhzy0uzkdmVf4jhnl50k NNTP-Posting-Host: 122.169.136.26 References: <33BAD13E.3B5EA4BA@sc-systems.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Java AWT on Linux? From: renuka1414.n@gmail.com Injection-Date: Tue, 17 Sep 2013 09:42:13 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: csiph.com comp.os.linux.development.apps:608 On Wednesday, July 2, 1997 12:00:00 AM UTC-7, dhboy wrote: > Greetings, > > We have installed Linux 2.0.29 and Java 1.1. We can run class files that > do not access the AWT but when we try even simple AWT code we get the > error listed below. We have used ldconfig on the directory > /usr/local/java/lib/i586, but the problem persists. The file > /usr/local/java/lib/i586/libawt.so exists and is not a link. > > We are new to Linux (we know Java), can someone help? > > [root@sc java]# java Hello > File not found (/usr/local/java/bin/../lib/i586/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.(MToolkit.java:37) > at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:199) > at java.awt.Window.getToolkit(Window.java:163) > at java.awt.Frame.addNotify(Frame.java:90) > at java.awt.Window.show(Window.java:114) > at Hello.main(Hello.java:55) > java.lang.UnsatisfiedLinkError: init > at sun.awt.motif.MToolkit.(MToolkit.java:41) > at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:199) > at java.awt.Window.getToolkit(Window.java:163) > at java.awt.Frame.addNotify(Frame.java:90) > at java.awt.Window.show(Window.java:114) > at Hello.main(Hello.java:55) > -- > David Boydston > Solutions Consulting