当前位置: 技术问答>java相关
Jbuilder在哪里设classpath
来源: 互联网 发布时间:2015-01-12
本文导语: 编译信息: F:JBUILDER4JDK1.3binjavaw -classpath "F:jprojectmysqlclasses;F:JBuilder4libdx.jar;F:JBuilder4libbeandt.jar;F:JBuilder4libjbcl.jar;F:JBUILDER4JDK1.3demojfcJava2DJava2Demo.jar;F:JBUILDER4JDK1.3jrelibi18n.jar;F:JBUILDER4JDK1.3jrelibjaws.jar;F:JBUILDER4JDK1.3jrelibrt.jar...
编译信息:
F:JBUILDER4JDK1.3binjavaw -classpath "F:jprojectmysqlclasses;F:JBuilder4libdx.jar;F:JBuilder4libbeandt.jar;F:JBuilder4libjbcl.jar;F:JBUILDER4JDK1.3demojfcJava2DJava2Demo.jar;F:JBUILDER4JDK1.3jrelibi18n.jar;F:JBUILDER4JDK1.3jrelibjaws.jar;F:JBUILDER4JDK1.3jrelibrt.jar;F:JBUILDER4JDK1.3jrelibsunrsasign.jar;F:JBUILDER4JDK1.3libdt.jar;F:JBUILDER4JDK1.3libtools.jar"
并不是autoexec.bat里设的classpath
jbuilder应该在哪里设classpath?
F:JBUILDER4JDK1.3binjavaw -classpath "F:jprojectmysqlclasses;F:JBuilder4libdx.jar;F:JBuilder4libbeandt.jar;F:JBuilder4libjbcl.jar;F:JBUILDER4JDK1.3demojfcJava2DJava2Demo.jar;F:JBUILDER4JDK1.3jrelibi18n.jar;F:JBUILDER4JDK1.3jrelibjaws.jar;F:JBUILDER4JDK1.3jrelibrt.jar;F:JBUILDER4JDK1.3jrelibsunrsasign.jar;F:JBUILDER4JDK1.3libdt.jar;F:JBUILDER4JDK1.3libtools.jar"
并不是autoexec.bat里设的classpath
jbuilder应该在哪里设classpath?
|
Linux 在/etc/profile 中设定
|
在Project 的Properties下,有一个Library项,增加你想用到的包(包括SUN提供的、你这个应用专用的如JDBC Driver的包等等),这就是你这个应用的CLASSPATH了。JB里的CLASSPATH可以根据不同的Project不同的。
还有一个CLASSPATH就是你自已的Project的Source目录,这是缺省的。
还有一个CLASSPATH就是你自已的Project的Source目录,这是缺省的。
|
JBulider在菜单project下的properties 中点击ADD按钮后在点击NEW按钮出现CLASSPATH进行设置即可