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, 3:39 PM   #1
csrocker101
Programmer
 
Join Date: Dec 2006
Posts: 50
Rep Power: 2 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, 5:14 PM   #2
titaniumdecoy
Expert Programmer
 
titaniumdecoy's Avatar
 
Join Date: Nov 2005
Posts: 929
Rep Power: 4 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 online now   Reply With Quote
Old Dec 30th, 2007, 7:22 PM   #3
lectricpharaoh
SEXY SHOELESS GOD OF WAR!
 
lectricpharaoh's Avatar
 
Join Date: Jun 2005
Location: Wet west coast of Canada
Posts: 1,193
Rep Power: 5 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.
__________________
And once again, Probability proves itself willing to sneak into a back alley and service Drama as would a copper-piece harlot.
- Vaarsuvius, Order of the Stick
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 5:31 PM
Language display in program Prm753 C++ 3 May 30th, 2006 6:45 PM
Help me program this with Watcom! DBZ Other Programming Languages 3 Feb 26th, 2006 10:41 PM
Creating a program to test a program sixstringartist C 8 Jan 21st, 2006 2:15 PM
airport Log program using 3D linked List : problem reading from file gemini_shooter C++ 0 Mar 2nd, 2005 5:12 PM




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

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