This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes jar files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "jar files" Watch "jar files" New topic
Author

jar files

Jose Manuel
Greenhorn

Joined: Feb 14, 2003
Posts: 5
Hi,
Just few questions as a beginner in Java:
1.- What can I find inside jar files, classes...?
1.- Can I "unzip" a jar file in order to see its contents?. If it is possible, how can I do this?
Thanks in advance.
Jose.
Amol Desai
Ranch Hand

Joined: Jan 29, 2003
Posts: 82
Hi,
JAR file will contain the class files and auxiliary resources associated with applets and applications.
You can view the contents of jar file using
c:\jdk\bin>jar xf <jar-file name>.
The jar tool can be found in the bin directory of of JDK.
Hope this helps
karl koch
Ranch Hand

Joined: May 25, 2001
Posts: 388
hi
on windows you can open it with winzip.
jar files are using the zip algorithm so you should be able to rpocess them with any zip tool available.
k
Jose Manuel
Greenhorn

Joined: Feb 14, 2003
Posts: 5
Thanks for the info Amol and Karl.
Jose.
 
Don't get me started about those stupid light bulbs.
 
subject: jar files
 
Similar Threads
how to develop website for sending SMS
Bluetooth Apps using Nokia 6600
Two questions about applet security
Help - Downloaded Jar files
how to include jar in jar