From: Peter H.M. J. <p.h...@tb...> - 2004-09-27 09:33:09
|
Dear Hualiang, First of all I'd lile you to use the mailing list as well! I think you have a problem which interest many more. The question is a fundamental one and is luckely for you easy to answer. The entire notion of modularity and encapsulation is that you do not have to see the source code of others. You can simply use these classes. The zip file of these classes is called a library. Instead of keeping them in a zip file, Java normally uses Jar files (=Java archives). This is more or less the same. In eclipse you can do both. * You can add the jar file, or zip file, to your classpath. In eclipse: Right click on the project-->Properties-->Java build path-->Libraries-->Add external Jar. Now select the library. Peter -----Original Message----- From: Lin, H.L [mailto:H....@ST...] Sent: Sunday, September 26, 2004 4:45 PM To: 'p.h...@tb... ' Subject: Question about Java Importance: High hi Peter I have one question about Java. I wanna use some classes programmed by other people. All these classes were already compiled(that means I have no original *.java) and all these classes are compacted in a zip file called Utility.zip. So if I wanna use these class in my own programm. what I'm supposed to do? Kind regards Hualiang Lin |