avatar
.jar 文件一问?# Java - 爪哇娇娃
l*r
1
我下载了一个.jar文件, 想在我的程序中用里面的class什么的.
请问在JBuilder 7中, 如何使用呢?
I see that the .jar file (actually a zip file, I know that), in the jar file,
there are folders and .class files. I think I can extract/unzip them
to the same folder as in my program, then import xx.xx.xx.class.*;
But I think there is a way to use the classes in the .jar file without
unzip the file.
How can I do it and use it from my java program? (in JBuilder).
Thanks a lot.
avatar
x*n
2
java -jar ...
java -p if neccessary

【在 l********r 的大作中提到】
: 我下载了一个.jar文件, 想在我的程序中用里面的class什么的.
: 请问在JBuilder 7中, 如何使用呢?
: I see that the .jar file (actually a zip file, I know that), in the jar file,
: there are folders and .class files. I think I can extract/unzip them
: to the same folder as in my program, then import xx.xx.xx.class.*;
: But I think there is a way to use the classes in the .jar file without
: unzip the file.
: How can I do it and use it from my java program? (in JBuilder).
: Thanks a lot.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。