`
gdpglc
  • 浏览: 94818 次
  • 性别: Icon_minigender_1
  • 来自: 长春
社区版块
存档分类
最新评论

Using java.ext.dirs to ease setting classpath(2009-03-02 15:41)

阅读更多
If U are in a hurry to compile code and there is a big list of Jar files to include in the classpath, there U don't have to struggle to include the names of all the jar's in the classpath.

There is a neat trick - use the "java.ext.dirs" JVM param to point to the directory containing the jar files.

java -Djava.ext.dirs=c:\java\axis-1_1\lib -classpath classes MyJavaClass

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics