Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jar files

 
Jose Manuel
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 388
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the info Amol and Karl.
Jose.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic