I am an old timer trying to refresh my working of Java and I have installed java 2 since I had the Book and CD for it. If I succeed in using it I will update to java 6.
2. I have written the following code in the notepad and saved it to c:\jdk1.2.1\bin with the file name "hello.java" and I can see a file by name 'hello' is in the bin folder.
class HelloWorldApp {
public static void main(String[] args) {
System.out.println("Hello World!"); // Display the string.
}
}
3. Then I go to DOS and go to the directory jdk1.2.1\bin and enter the following
javac hello.java
4. Here I get the message that the program cannot be opened in DOS.
5. Perhaps I have not followed the correct steps. I shall be grateful for any advice.
6. I am on win98 although I have dual booting with winXP.
