| Author |
javac problems
|
Ramm Kummar
Greenhorn
Joined: Feb 10, 2009
Posts: 26
|
|
I have copied the servlet-api and jsp-api jar files from the lib folder of the tomcat to the lib folder of the jdk. Still I am getting this error: I have given these jar files in the system classpath variables alo. Please suggest me here.
|
 |
K. Tsang
Ranch Hand
Joined: Sep 13, 2007
Posts: 1219
|
|
|
Which jar files you included? Servlets and JSP stuff is part of J2EE (the j2ee.jar).
|
K. Tsang JavaRanch SCJP5 SCJD/OCM-JD
|
 |
Dawn Charangat
Ranch Hand
Joined: Apr 26, 2007
Posts: 249
|
|
try
javac -classpath <path to your jar files> HelloServlet.java
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32651
|
|
|
Is there anything in the servlets FAQ?
|
 |
 |
|
|
subject: javac problems
|
|
|