You need to also follow these procedure. In the D: \ a directory under the new test; and then write the following program:
Code:
public class Test (
public static void main (String args []) (
System.out.println ( "This is a test program.");
}
}
Above, this program will be saved as a file named Test.java file, save in the directory D: \ test next. Then open a command prompt window, cd to your test directory, and then type the following command
Code:
javac Test.java
java Test
If you see a print out at this time This is a test program. If the instructions to install is successful, if not print out this sentence, you need to carefully check your configuration. If the above J2SDK installation is successful, then continue to install Tomcat. Best of luck.
Bookmarks