Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

set java compiler inside tomcat /../../../../class??

Status
Not open for further replies.

112055

Programmer
May 13, 2002
61
US
I have downloaded j2sdk-1.4.0_03 and tomcat 4.06. I managed to get to localhost:8080/index.html to play with all the examples and manages to create my own directory ...apress/jsp/TestPage/login.jsp. I can see that no problem on the browser.
D:\jakarta-tomcat-4.0.6\webapps\apress\WEB-INF\classes\TestPage>dir
Volume in drive D has no label.
Volume Serial Number is 4062-EF28

Directory of D:\jakarta-tomcat-4.0.6\webapps\apress\WEB-INF\classes\TestPage

12/13/02 09:52a <DIR> .
12/13/02 09:52a <DIR> ..
05/18/01 02:00a 997 HelloTag.class
05/18/01 02:00a 997 HelloTag.java
12/12/02 04:51p 1,446 login.class
12/12/02 04:51p 1,446 login.java
6 File(s) 4,886 bytes
30,515,064,832 bytes free

But when I go to the classes file to compile javac *.java files, ..I get ...

D:\jakarta-tomcat-4.0.6\webapps\apress\WEB-INF\classes\TestPage>javac *.java
The name specified is not recognized as an
internal or external command, operable program or batch file.

D:\jakarta-tomcat-4.0.6\webapps\apress\WEB-INF\classes\TestPage>

This is telling me I need to get a java compiler ..but how do you implement that?

Thanks a million..

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top