你的问题到底是什么? 1。classpath=c:\jdk1.2.2\lib;c:\jdk1.2.2\lib\tools.jar;c:\jdk1.2.2\lib\dt.jar 2。 tomcat\bin\tomcat.bat中加入: SET JAVA_HOME=C:\JDK1.2.2 SET TOMCAT_HOME=C:\TOMCAT 或者作为系统的环境变量建立JAVA_HOME和TOMCAT_HOME
1.进入DOS窗口 2.c:\>cd yourclass_path 3.c:yourclass_path>c:\jdk1.2.2\bin\javac.exe yourclass.java ----then ok!! ----you maybe copy the yourclass.class to the tomcatpath\classes
1。classpath=c:\jdk1.2.2\lib;c:\jdk1.2.2\lib\tools.jar;c:\jdk1.2.2\lib\dt.jar
2。 tomcat\bin\tomcat.bat中加入:
SET JAVA_HOME=C:\JDK1.2.2
SET TOMCAT_HOME=C:\TOMCAT
或者作为系统的环境变量建立JAVA_HOME和TOMCAT_HOME
与IIS
还有什么问题?
2.c:\>cd yourclass_path
3.c:yourclass_path>c:\jdk1.2.2\bin\javac.exe yourclass.java
----then ok!!
----you maybe copy the yourclass.class to the tomcatpath\classes