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

Failed to run JDK1.1.2 demo program

0 views
Skip to first unread message

Teoh Soh Tin

unread,
Jun 12, 1997, 3:00:00 AM6/12/97
to

Hi,

I've downloaded JDK1.1.2 on my sun solaris server, installed it
according to instructions but encountered the following error
messages when trying to run its demo programs.

Here's the messages that I've received from the system:


*************
sun07% cd /usr/local/jdk1.1.2/demo
sun07% ls
Animator Clock GraphicsTest SimpleGraph awt-1.1
ArcTest DitherTest ImageMap SortDemo i18n
BarChart DrawTest JumpingBox SpreadSheet jre
Blink Fractal MoleculeViewer TicTacToe
CardTest GraphLayout NervousText WireFrame
sun07% cd DrawTest
sun07% ls
1.0.2 1.1 example1.html
sun07% appletviewer example1.html
Creating /home/student7/tst99999/.hotjava directory
ld.so.1: /usr/local/jdk1.1.2/bin/../bin/sparc/green_threads/java:
fatal: relocation error: symbol not found: XtStrings: referenced
in /usr/local/jdk1.1.2/bin/../lib/sparc/green_threads/libawt.so
(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
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:244)
at sun.applet.AppletCopyright.<init>(AppletCopyright.java:36)
at sun.applet.AppletViewer.mainInit(AppletViewer.java:1026)
at sun.applet.AppletViewer.main(AppletViewer.java:1035)
**************

*******Here's my current environment setting**********

sun07% env
HOME=/home/student7/tst99999
SHELL=/bin/csh
PATH=/usr/bin:/usr/local/bin:/usr/local/jdk1.1.2/bin
USER=tst99999
PWD=/home/student7/tst99999
TERM=xterm
WINDOWID=8388621
DISPLAY=153.20.131.70:0.0
LOGNAME=tst99999


Any pointer would be appreciated.
Thanks in advance

Soh Tin


0 new messages