zoukankan      html  css  js  c++  java
  • javac编译项目代码脚本片段

    java -cp ".;.ojdbc6.jar;WEB-INFlibcommons-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-INFlibcommons-dbcp2-2.0.1.jar src/com/DH/*.java


    javac -d WEB-INF/classes -sourcepath src -classpath WEB-INFlibdbcp2.jar src/com/DH/*.java
    java -cp ".classes;libdbcp2.jar;libpool2.jar;liblogging.jar;libojdbc6.jar" com.DH.M


    javac -d WEB-INF/classes -sourcepath src
    -classpath "WEB-INFlibdbcp2.jar;WEB-INFlibdbutil16.jar;WEB-INFlibfastjson1
    5.jar" src/com/DH/*.java
    java -cp ".classes;libdbcp2.jar
    ;libpool2.jar;liblogging.jar;libojdbc6.jar;libdbutil16.jar;libfastjson15.ja
    r" com.DH.M


    javac -d WEB-INF/classes -sourcepath src -classpath "WEB-INFlibdbcp2.jar;WEB-INFlibdbutil16.jar;WEB-INFlibfastjson15.jar" src/com/DH/*.java
    java -cp ".classes;libdbcp2.jar;libpool2.jar;liblogging.jar;libojdbc6.jar;libdbutil16.jar;libfastjson15.jar" com.DH.M

    javac -d classes -sourcepath src -classpath "libdbcp2.jar;libdbutil16.jar;libfastjson15.jar" ../src/com/DH/*.java
    java -cp ".classes;libdbcp2.jar;libpool2.jar;liblogging.jar;libojdbc6.jar;libdbutil16.jar;libfastjson15.jar" com.DH.M

  • 相关阅读:
    P1966 火柴排队
    其实,我可以假装这篇随笔的名字很长,很长
    通用技术课的准备
    浅谈高压线除冰技术
    浅谈发电厂的环保问题
    本地MD搬运
    高考作文专题
    奇奇怪怪的错误收集 (鸽)
    2019CSP-S2专题
    模拟赛 ——“与” 小象涂色 行动!行动!
  • 原文地址:https://www.cnblogs.com/xianyun/p/4641804.html
Copyright © 2011-2022 走看看