cynorr

Learn what I touched.

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

items

  • lib: some file end by .jar
  • sources: *.java
  • executable file: *.class

run the executable file

If the source files have been executed, just run with lib:

java -cp /home/username/.../lib/libfile1.jar:/home/username/.../lib/libfile2.jar:  packageDir.Test

compiling source files

javac -cp /home/username/.../lib/libfileq.jar:/home/username/.../lib/libfile2.jar: Test.java

Don't ignore the last ':' following *.jar, and there are not any blank before ':'**
Otherwise , some errors will occur.

posted on 2014-11-26 21:12  cynorr  阅读(138)  评论(0编辑  收藏  举报