当前位置: 技术问答>java相关
关于jbuilder 6设置的问题
来源: 互联网 发布时间:2015-10-13
本文导语: 我在系统里面设置classpath为: D:j2sdklibTOOLS.JAR;D:j2sdklibDT.JAR;D:oracleora81jdbclibclasses12.zip;D:oracleora81jdbclibnls_charset12.zip;D:oracleora81jdbclibjndi.zip;D:oracleora81jdbclibjta.zip;D:WTK104libmidpapi.zip;D:oracleora81orbclassesyoj.jar;D:oracleora81orbclassessh...
我在系统里面设置classpath为:
D:j2sdklibTOOLS.JAR;D:j2sdklibDT.JAR;D:oracleora81jdbclibclasses12.zip;D:oracleora81jdbclibnls_charset12.zip;D:oracleora81jdbclibjndi.zip;D:oracleora81jdbclibjta.zip;D:WTK104libmidpapi.zip;D:oracleora81orbclassesyoj.jar;D:oracleora81orbclassesshare.zip
jbuilder6抓出来的classpath 却是(我在java文件上点右键,然后选run,看到的classpath信息):
E:testclasses;D:beawlserver6.1libweblogic_sp.jar;D:beawlserver6.1libweblogic.jar;D:j2sdkdemojfcJava2DJava2Demo.jar;D:j2sdkdemopluginjfcJava2DJava2Demo.jar;D:j2sdkjrelibcharsets.jar;D:j2sdkjrelibextdnsns.jar;D:j2sdkjrelibextldapsec.jar;D:j2sdkjrelibextlocaledata.jar;D:j2sdkjrelibextsunjce_provider.jar;D:j2sdkjrelibjaws.jar;D:j2sdkjrelibjce.jar;D:j2sdkjrelibjsse.jar;D:j2sdkjrelibrt.jar;D:j2sdkjrelibsunrsasign.jar;D:j2sdklibdt.jar;D:j2sdklibhtmlconverter.jar;D:j2sdklibtools.jar
同样的程序,我在jdk下编译、运行都正常,在jbuilder6下就通不过:(
这是怎么回事?
还有,为什么我手动加入的java文件含有main函数,而jbuilder6里的菜单(在相应文件上点右键谈出的菜单)上没有run选项?
D:j2sdklibTOOLS.JAR;D:j2sdklibDT.JAR;D:oracleora81jdbclibclasses12.zip;D:oracleora81jdbclibnls_charset12.zip;D:oracleora81jdbclibjndi.zip;D:oracleora81jdbclibjta.zip;D:WTK104libmidpapi.zip;D:oracleora81orbclassesyoj.jar;D:oracleora81orbclassesshare.zip
jbuilder6抓出来的classpath 却是(我在java文件上点右键,然后选run,看到的classpath信息):
E:testclasses;D:beawlserver6.1libweblogic_sp.jar;D:beawlserver6.1libweblogic.jar;D:j2sdkdemojfcJava2DJava2Demo.jar;D:j2sdkdemopluginjfcJava2DJava2Demo.jar;D:j2sdkjrelibcharsets.jar;D:j2sdkjrelibextdnsns.jar;D:j2sdkjrelibextldapsec.jar;D:j2sdkjrelibextlocaledata.jar;D:j2sdkjrelibextsunjce_provider.jar;D:j2sdkjrelibjaws.jar;D:j2sdkjrelibjce.jar;D:j2sdkjrelibjsse.jar;D:j2sdkjrelibrt.jar;D:j2sdkjrelibsunrsasign.jar;D:j2sdklibdt.jar;D:j2sdklibhtmlconverter.jar;D:j2sdklibtools.jar
同样的程序,我在jdk下编译、运行都正常,在jbuilder6下就通不过:(
这是怎么回事?
还有,为什么我手动加入的java文件含有main函数,而jbuilder6里的菜单(在相应文件上点右键谈出的菜单)上没有run选项?
|
jbuilder的classpath 和你系统的不一样的,你需要什么类库,在工程里加入吧
jbuilder中你使用的工程,还是单独的文件,好像jbuilder不能运行单独的文件吧
jbuilder中你使用的工程,还是单独的文件,好像jbuilder不能运行单独的文件吧
|
右上角 的 管理