码迷,mamicode.com
首页 > 编程语言 > 详细

javac编译项目代码脚本片段

时间:2015-07-13 00:33:41      阅读:234      评论:0      收藏:0      [点我收藏+]

标签:

java -cp ".;.\ojdbc6.jar;WEB-INF\lib\commons-dbcp2-2.0.1.jar" TestJDBC
java -cp ".\classes;lib\*.jar" com.DH.M

javac -classpath WEB-INF/classes -d WEB-INF/classes -sourcepath src/com/DH/PowerInfo.java

javac -d WEB-INF/classes -sourcepath src -classpath WEB-INF/classes src/com/DH/PowerInfo.java;src/com/DH/M.java
javac -d WEB-INF/classes -sourcepath src -classpath WEB-INF/classes;./WEB-INF/lib/*.jar src/com/DH/*.java
javac -d WEB-INF/classes -sourcepath src -classpath WEB-INF\lib\commons-dbcp2-2.0.1.jar src/com/DH/*.java


javac -d WEB-INF/classes -sourcepath src -classpath WEB-INF\lib\dbcp2.jar src/com/DH/*.java
java -cp ".\classes;lib\dbcp2.jar;lib\pool2.jar;lib\logging.jar;lib\ojdbc6.jar" com.DH.M


javac -d WEB-INF/classes -sourcepath src
-classpath "WEB-INF\lib\dbcp2.jar;WEB-INF\lib\dbutil16.jar;WEB-INF\lib\fastjson1
5.jar" src/com/DH/*.java
java -cp ".\classes;lib\dbcp2.jar
;lib\pool2.jar;lib\logging.jar;lib\ojdbc6.jar;lib\dbutil16.jar;lib\fastjson15.ja
r" com.DH.M


javac -d WEB-INF/classes -sourcepath src -classpath "WEB-INF\lib\dbcp2.jar;WEB-INF\lib\dbutil16.jar;WEB-INF\lib\fastjson15.jar" src/com/DH/*.java
java -cp ".\classes;lib\dbcp2.jar;lib\pool2.jar;lib\logging.jar;lib\ojdbc6.jar;lib\dbutil16.jar;lib\fastjson15.jar" com.DH.M

javac -d classes -sourcepath src -classpath "lib\dbcp2.jar;lib\dbutil16.jar;lib\fastjson15.jar" ../src/com/DH/*.java
java -cp ".\classes;lib\dbcp2.jar;lib\pool2.jar;lib\logging.jar;lib\ojdbc6.jar;lib\dbutil16.jar;lib\fastjson15.jar" com.DH.M

javac编译项目代码脚本片段

标签:

原文地址:http://www.cnblogs.com/xianyun/p/4641804.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!