hi spike,
well do this,
dont forget to include classpath to your jsdk.jar file.
this is the problem due to which you are not able to compile.
i give u a typical example of compilation
javac -classpath .;c:\j2sdk\lib\jsdk.jar
hope this helps
bye
goldy
I am a beginner of JAVA. I have problem during the program compile. I am using WinXP and already install "j2sdk1.4.1" and "j2sdkee1.3.1". I have also set the path "SET C:\j2sdk1.4.1\bin; C:\j2sdkee1.3.1\lib;". Then try to compile a similar servlet program.
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class HW extends HttpServlet {}
When I tried to compile it "javac HW.java", it prompted
"HW.java2: package javax.servlet does not exist"
"HW.java3: package javax.servlet.http does not exit"
Please! could any expert help a new babe? Seems can't recognize location of package.