| Author |
basic servlet compilation difficulty
|
geet rahane
Ranch Hand
Joined: Jul 06, 2009
Posts: 45
|
|
Hello ranchers...
I am preparing for scwcd...i had read the hfsj but not done a single programme while reading...now i have started to do the practicle..and i found so many difficulties
I am doing the first basic programme of servlet...in that
my project directory is in C:\Program Files\Java\jdk1.5.0_19\bin
i am using jdk1.5.0_19 and Tomcat 5.5
when i am trying to compile it using
c:\program Files\Java\jdk1.5.0_19\bin\project>javac -classpath C:/Program Files/Apache Software Foundation/Tomcat 5.5/common/lib/servlet-api.jar -d classes src/Ch1Servlet.java
I get
javac is not recognised as a internal or external command..
whether the path ,i am using during compilation is wrong ???
i know that this was a very basic problem but please help.....
|
 |
Vishwanath Krishnamurthi
Ranch Hand
Joined: Jun 04, 2007
Posts: 331
|
|
Have you set the 'path' environment variable? (Assuming it is Windows)
The value would be like C:\<all those directories>\bin
|
Blog
|
 |
 |
|
|
subject: basic servlet compilation difficulty
|
|
|