![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Programmer
Join Date: Dec 2006
Posts: 41
Rep Power: 0
![]() |
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?
|
|
|
|
|
|
#2 |
|
Expert Programmer
|
Re: Help with opensource program
jar xf jar-file [archived-file(s)] |
|
|
|
|
|
#3 |
|
Caffeinated Neural Net
Join Date: Jun 2005
Location: Dry west coast of Canada
Posts: 928
Rep Power: 4
![]() |
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.
__________________
A man's knowledge is like an expanding sphere, the surface corresponding to the boundary between the known and the unknown. As the sphere grows, so does its surface; the more a man learns, the more he realizes how much he does not know. Hence, the most ignorant man thinks he knows it all. - L. Sprague de Camp |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| hello, I'd like to write a program for my work. | blake_jl | Community Introductions | 13 | Nov 23rd, 2007 4:31 PM |
| Language display in program | Prm753 | C++ | 3 | May 30th, 2006 5:45 PM |
| Help me program this with Watcom! | DBZ | Other Programming Languages | 3 | Feb 26th, 2006 9:41 PM |
| Creating a program to test a program | sixstringartist | C | 8 | Jan 21st, 2006 1:15 PM |
| airport Log program using 3D linked List : problem reading from file | gemini_shooter | C++ | 0 | Mar 2nd, 2005 4:12 PM |