Hi,
I downloaded Java SDK 1.4 from java.sun and installed it on my PC. I was going through a tutorial and wrote piece of code which I copied from the tutorial to Notepad called :-
divelog.java
The instructions said :-
Compile DiveLog.java as follows:
On a Windows platform:
C:\divelog>javac -classpath C:\ DiveLog.java
Run the Dive Log with the following:
Windows:
C:\divelog>java -classpath C:\ divelog.DiveLog
So I put the Notepad file in C:\divelog, and clicked Start/Run and then put in C:\divelog>javac -classpath C:\ DiveLog.java. I got an error saying it can't find it and it didn't work. I did the same thing from DOS and it just threw back Bad Command.
I really want to get started. Can anyone help?
I downloaded Java SDK 1.4 from java.sun and installed it on my PC. I was going through a tutorial and wrote piece of code which I copied from the tutorial to Notepad called :-
divelog.java
The instructions said :-
Compile DiveLog.java as follows:
On a Windows platform:
C:\divelog>javac -classpath C:\ DiveLog.java
Run the Dive Log with the following:
Windows:
C:\divelog>java -classpath C:\ divelog.DiveLog
So I put the Notepad file in C:\divelog, and clicked Start/Run and then put in C:\divelog>javac -classpath C:\ DiveLog.java. I got an error saying it can't find it and it didn't work. I did the same thing from DOS and it just threw back Bad Command.
I really want to get started. Can anyone help?