Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Dec 30th, 2007, 2:39 PM   #1
csrocker101
Programmer
 
Join Date: Dec 2006
Posts: 41
Rep Power: 0 csrocker101 is on a distinguished road
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?
csrocker101 is offline   Reply With Quote
Old Dec 30th, 2007, 4:14 PM   #2
titaniumdecoy
Expert Programmer
 
titaniumdecoy's Avatar
 
Join Date: Nov 2005
Posts: 837
Rep Power: 3 titaniumdecoy is on a distinguished road
Send a message via AIM to titaniumdecoy
Re: Help with opensource program

jar xf jar-file [archived-file(s)]
titaniumdecoy is offline   Reply With Quote
Old Dec 30th, 2007, 6:22 PM   #3
lectricpharaoh
Caffeinated Neural Net
 
lectricpharaoh's Avatar
 
Join Date: Jun 2005
Location: Dry west coast of Canada
Posts: 928
Rep Power: 4 lectricpharaoh will become famous soon enough
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
lectricpharaoh is online now   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 7:57 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC