l********r 发帖数: 140 | 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. | x***n 发帖数: 39 | 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.
|
|