![]() |
Help with opensource program
Hey everybody. I've been going onto Sourgeforge.net and similar open source code sites but have been having some problems. I have programmed in Java before but when I download these open source programs I don't understand how to get to the code. There are a whole bunch of .JAR files and don't know how to open them. Could anyone give me a step by step of how to open an open source Java program?
|
Re: Help with opensource program
jar xf jar-file [archived-file(s)] |
Re: Help with opensource program
Java .jar files are just archive files, similar to .zip files. In fact, the formats are identical; the former just use a different extension.
The purpose of these is to pack multiple .class files along with a 'manifest' file that tells the computer which one to run. Then, when you double-click the .jar file or otherwise 'open' it on your system, if everything's set up properly, it should decompress the archive to a temporary location, and run the file specified in the manifest. |
| All times are GMT -5. The time now is 3:32 PM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC