This problem is related with CLASSPATH. After installing the jdk under your local directory, set the classpath information. I can provide you with the detail by which you can create a CLASSPATH variable and add the classpath information
Goto Mycomputer -> Right Click -> Select Properties -> CLick on the Advanced tab -> Click on the Environment Variables button -> Check for ClassPath variable, if you find one, click on the Edit button provided and provide the ClassPath information in the popup box. If There is no variable named Classpath then click on the New button provided below and provide the classpath .
If jdk is in C:
Then the path should be set as given below:
c:\jdk1.4.2\bin.
The version in the file name depends on the version of the jdk installed in your PC.
Hi,
I hope by this time you could have solved this problem, If not try with this. Even though u have J2ee package. You might require Servlets package to compile your program.Attached is the the jar file which consists of all the class files we need for compiling the servlets. You may need to place the jar file under c:\ or any directory and specify the location in the ClassPath. It should definitely work. Extract the Zip file and add the JAR file name in the classpath.
Bookmarks