cd /d C:\Documents and Settings\tendyhu.OVALTECH\桌面\chat\stg-dataUpload
set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_01
set PRODUCT_HOME=C:\Documents and Settings\tendyhu.OVALTECH\桌面\chat\stg-dataUpload
set PATH=%JAVA_HOME%\bin;%PATH%
set CLASSPATH=%PRODUCT_HOME%\apache-activemq-4.1.1.jar;
含包类
javac -d . *.java
运行jar
java -cp test.jar com.oval.Test
set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_01
set PRODUCT_HOME=C:\Documents and Settings\tendyhu.OVALTECH\桌面\chat\stg-dataUpload
set PATH=%JAVA_HOME%\bin;%PATH%
set CLASSPATH=%PRODUCT_HOME%\apache-activemq-4.1.1.jar;
含包类
javac -d . *.java
运行jar
java -cp test.jar com.oval.Test