[6229] in java-interest

home help back first fref pref prev next nref lref last post

executing java applications using Netscape

daemon@ATHENA.MIT.EDU (Joachim Laier)
Mon Mar 25 21:53:19 1996

Date:         Fri, 22 Mar 1996 11:16:57 +0100
Reply-To: Joachim.Laier@zfe.siemens.de
From: Joachim Laier <laier@BSUN17.ZFE.SIEMENS.DE>
To: Multiple recipients of list JAVA-INTEREST
              <JAVA-INTEREST@JAVASOFT.COM>

Hello,

I have a complicated Problem:

I'd like to provide a www-page that connects to a socket server on my www-host.
The problem is that our www-host's os is SUN-OS 4.1.3 -> no java :-(

The socket server is written in Java as well and everything is fine when I run
it as a stand allone applet using Solaris, or when I run it in an Appletviewer.
I can't do that in Sun-OS 4.1.3.

Many applications work fine with:
  netscape -java application

but id doesn't work when I access classes within the awt or net package. I get
the runtime error:

java.lang.UnsatisfiedLinkError: no awt in shared library path
        at java.lang.Runtime.loadLibrary(Runtime.java:266)
        at java.lang.System.loadLibrary(System.java:266)
        at sun.awt.motif.MToolkit.<clinit>(MToolkit.java:33)
        at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:190)
        at java.awt.Window.getToolkit(Window.java:139)
        at java.awt.Frame.addNotify(Frame.java:82)
        at java.awt.Window.show(Window.java:93)
        at application.main(application.java)

I set 'classpath' to netscape's 'moz2_01.zip'.

What is wrong? Could someone help me please?
Is it possible that I can run a 'SocketServer' within a netscape applet inside
the browser?

Thanks for your help
Jo

-----
This message has been forwarded via the JAVA-INTEREST
mailing list.  In order to unsubscribe from this list, send a message to
listserv@javasoft.com with the command 'signoff JAVA-INTEREST' in
the message body (not in the subject line).

home help back first fref pref prev next nref lref last post