In a message dated 2/11/00 12:44:57 AM,
DeanJudd@... writes:
> Microsoft Internet Explorer works but I prefer Netscape. I have the
>latest
>Netscape 4.7, from a CD installed.
I think a guy in Belfast Ireland was having problems and he sent me a request
for help which included your message.
I prefer Netscape too, but it does not use MRJ. It uses its own JVM (Java
Virtual Machine) However, Netscape's JVM should also work.
I'm thinking only Applets run using a browser. If you have writtin an
application instead of an Applet, you'll need to do something else. When I
write an application, I'm using CodeWarrior. When I write applets, I use the
SDK. I just checked the mail I thought I sent to him and apparently it went
to you instead.
The JDK was actually written to be used by computers which use a command
line. To run an application using such a computer, one would have to go to
the DOS prompt (eliminate the Windows window and go back to what looks like
PC- DOS before Windows was stolen and type in the command: java
MyJavaProgram
Each of the following 4 lines is a JDK command. The JDK way using command
lines is this:
edit // brings up the bland no frills editor. Type TheCode and save
as TheCode.java
javac TheCode.java // using the command javac to compile. Requires
path name etc.
java TheCode // causes the jdk to run the application: TheCode
actually runs TheCode.class
appletviewer TheCode.html // causes an applet to run
Well it just hit me. When running an applet using SDK (JDK), you must have
an html file. You run the applet by opening the html file. I think if you
open Netscape and then use the open file command to open the html file, you
should be able to run an applet. Let me try one of mine. I tried four
applets I wrote and they all work perfectly using Netscape Communicator 4.7.
The command is File:Open page in Navigator:MyCode.html
Let me know if you still can't get this to work.
Dr Dan