LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-13-2006, 01:13 AM   #1
Arkan123
LQ Newbie
 
Registered: Jan 2006
Location: Canada
Distribution: Mandrake
Posts: 28

Rep: Reputation: 15
what is this file extension


what is this file extension and what do i do with it?

.jar
 
Old 01-13-2006, 01:39 AM   #2
mdkusr
Member
 
Registered: Nov 2004
Location: P-town
Distribution: Slackware 10.2
Posts: 72

Rep: Reputation: 15
its a java file, more then likely i think you will need jre to use it but i could be wrong
http://java.sun.com/j2se/1.3/docs/guide/jar/jar.html
some reading on it mostly technical info

Last edited by mdkusr; 01-13-2006 at 01:41 AM.
 
Old 01-13-2006, 02:42 AM   #3
guedellas
Member
 
Registered: Dec 2005
Location: Espaņa
Distribution: Fedora Core 8 + Debian 4.0 + Vista
Posts: 61

Rep: Reputation: 15
yes, .jar are Java ARchives. They are an [misspell]agrupation[/misspell] grouping of all your .class archives (binary code) with some other configuration files (like manifests [plain text]). (If my mind doesn't fail me, I think it's almost equivalent to a .zip file).

Yo can execute a .jar archive if you have a virtual machine that understands the java language. So, you can install the official jre (http://java.sun.com) or kaffe (http://www.kaffe.org/) (I'm sure there are more virtual machines, but I only know this two)

With the official jre installed, you can run your app with:
java -jar file.jar

Last edited by guedellas; 01-14-2006 at 09:09 AM.
 
Old 01-13-2006, 02:43 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
Quote:
Originally Posted by mdkusr
its a java file, more then likely i think you will need jre to use it but i could be wrong
http://java.sun.com/j2se/1.3/docs/guide/jar/jar.html
some reading on it mostly technical info
You are right, its a java archive file and to run it you need to have java installed.
 
Old 01-13-2006, 09:27 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
Originally Posted by guedellas
yes, .jar are Java ARchives. They are an agrupation
agrupation??
Webster's online does not think this is a word---nor do I. I infer that it has to do with grouping or aggregating.

Computer people LOVE to invent words.....One of my favorites is "disambiguate"
OOPS--my mistake---that one is in Websters (but I bet a computer guy put it there.....
 
Old 01-14-2006, 09:07 AM   #6
guedellas
Member
 
Registered: Dec 2005
Location: Espaņa
Distribution: Fedora Core 8 + Debian 4.0 + Vista
Posts: 61

Rep: Reputation: 15
Quote:
Originally Posted by pixellany
agrupation??
jeje, you're right.. That's not English, maybe Speranto?

I've to recheck my locale
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux file extension vs Dos file Extension? manaa Linux - Newbie 6 02-12-2009 05:19 PM
File extension...?? jojojo Linux - Newbie 1 05-23-2005 05:42 PM
why when redirecting output to a file any file extension seems to be fine? dr_zayus69 Linux - General 1 05-21-2005 05:09 AM
.la file extension n_hendrick Linux - Newbie 1 01-11-2004 05:20 PM
file extension help Netrack Linux - Newbie 9 01-21-2003 09:53 PM


All times are GMT -5. The time now is 10:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration