[3529] in java-interest
Help with hello world
daemon@ATHENA.MIT.EDU (Darren Roberts - CM53-4)
Wed Nov 15 17:05:41 1995
From: Darren Roberts - CM53-4 <derober0@pine.shu.ac.uk>
To: java-interest@java.Eng.Sun.COM
Date: Wed, 15 Nov 1995 14:17:34 +0100 (MET)
Hello,
I have recently come across Hotjava and the Java programming language and have
tried the HelloWorld examples but to no avail. The java source file compiles okay
and produces the corresponding class file, this is then inserted in the Html file
like so:-
<APPLET CODE="HelloWorld.class" WIDTH=150 HEIGHT=25>
</APPLET>
This prints all the text in the Html file but just leaves a red blob where the
class should be. I have also tried this with the given examples like the tape and the
bouncing heads and although all of these work in the appletviewer, they don't in
hotjava when you give the file:// name etc.
Another problem I had occured when trying to do the example run protocol handler
this gives errors on all the import statements and whenever you use 'extends'
for example on Applet this also gives an error.
I am using Hotjava v1.0 alpha3 and JDK beta 1
Can anybody help me, all ideas greatly appreciated.
Thank you
Darren.
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com