Hello,
I thought I had my system installed, but I guess I don't.
Accord to the install instructions one dose the following:
cd /usr/local
tar -zxvf /usr/local/jdk1.1.6.tar.gz  # I change this
export DISPLAY=:0
export PATH=/usr/local/jdk1.1.6/bin:$PATH
apletviewer \
/usr/local/jdk1.1.6/demo/awt-1.1/lightweight/OpenlookButtons/example.html
 
I then get a window which show the Sun licence agreement. So, I thought 
I did everything ok.
Next I updated my .bashrc to permanently set the environment variables.
PATH=/usr/local/jdk1.1.6/bin:$PATH
CLASSPATH=.:/ITS/users/me/ch01:/usr/local/jdk1.1.6/lib/classes.zip
export PATH CLASSPATH

Then I went into ch01 directory and type a little program that the
book shows, "Java how to program" by Deitel & Deitel, I created
the html file.
Program name - Welcome.java    # got no errors when compiled
html file name - Welcome.java

Then I tried to execute the program
 appletviewer Welcome.html

What I get is Sun licence agreement again.

HELP HELP!!


Reply via email to