java命令行执行se项目

@echo off
set JAVA_HOME=D:jdk6.0
set SysPath=Z:\workspace

set toolsjar=%JAVA_HOME%\lib\tools.jar
set dtjar=%JAVA_HOME%\lib\dt.jar
set mysql=%SysPath%\lib\mysql.jar
cd %SysPath%
java -cp "%toolsjar%";"%dtjar%";"%mysql%";"%SysPath%" com.meiya.main.Main

pause
exit

你可能感兴趣的:(java命令行)