Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Java IDE » NetBeans  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 如何在NetBeans中导入Jar文件?
joshuaduan





发贴: 3
积分: 0
于 2006-12-21 13:31 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
我需要在NetBeans的项目中导入一个外部的jar文件,虽然已经将它添加到了项目的Libararies,Test Liberaries中,而且代码窗口中import语句也出现了该jar文件内类的方法提示,但编译始终报错:没有该软件包......。

请问如何在NetBeans5.5中导入,调用外部jar文件?

谢谢。

(缩略图,点击图片链接看原图)



作者 Re:如何在NetBeans中导入Jar文件? [Re:joshuaduan]
ivanyjq





发贴: 11
积分: 0
于 2006-12-21 14:15 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
属性 -〉库 -〉编译


作者 Re:如何在NetBeans中导入Jar文件? [Re:joshuaduan]
joshuaduan





发贴: 3
积分: 0
于 2006-12-21 15:08 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
已经在项目属性的库的编译中加入了该jar文件了,请看图里liberaries里已经有joshuaduanCurrentTime.jar了,编译依然报错:找不到该jar文件。


作者 Re:如何在NetBeans中导入Jar文件? [Re:joshuaduan]
joshuaduan





发贴: 3
积分: 0
于 2006-12-21 15:12 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list





flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923