Friday, April 23, 2010

การ Run Tomcat แก้ไข Classpath.bat

C:\apache-tomcat-6.0.16\bin\ setclasspath.bat

rem Set standard command for invoking Java.

rem Note that NT requires a window name argument when using start.

rem Also note the quoting as JAVA_HOME may contain spaces.

set _RUNJAVA="%JRE_HOME%\bin\java" –server

หรือ

set _RUNJAVA="%JRE_HOME%\bin\java" –client นี่คือ default

set _RUNJAVAW="%JRE_HOME%\bin\javaw"

set _RUNJDB="%JAVA_HOME%\bin\jdb"

set _RUNJAVAC="%JAVA_HOME%\bin\javac"

No comments:

Post a Comment