What is "sun/tools/javac/Main"?

jabber (jabber)
JSP compiler needs to use the sun.tools.javac.Main class to translate JSP into servlet code and then compile it into .class file. This class is in tools.jar file.
To make this tool.jar file available to Tomcat,
you need to set Windows environment variable JAVA_HOME.
Tihs can be done in either of the following ways:

1) In MS-DOS, issue: set JAVA_HOME=C:\jdk1.2.2

2) At the very beginning of tomcat.bat,
add JAVA_HOME=C:\jdk1.2.2

I took Windows as an example. You owrk on Linux, but things are similar. For instance, you work on tomcat.sh file.

You can visit www.apache.org and find FAQs.
2000-11-2 -04:00
This post has been archived. It cannot be replied.
Page address has been copied. To share, click to copy page address.
Share Online by QR Code

Back To Topic: hi,Japper, what's about error 500?

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论