Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.development.apps > #608

Re: Java AWT on Linux?

Newsgroups comp.os.linux.development.apps
Date 2013-09-17 02:42 -0700
References <33BAD13E.3B5EA4BA@sc-systems.com>
Message-ID <a80cf0c4-0bfd-4543-8a2e-7288cd5980c5@googlegroups.com> (permalink)
Subject Re: Java AWT on Linux?
From renuka1414.n@gmail.com

Show all headers | View raw


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.<clinit>(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.<init>(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

Back to comp.os.linux.development.apps | Previous | NextNext in thread | Find similar


Thread

Re: Java AWT on Linux? renuka1414.n@gmail.com - 2013-09-17 02:42 -0700
  Re: Java AWT on Linux? (Forget it, Java training spam) Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2013-09-17 13:43 +0300

csiph-web