• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

.jar

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
I have JDK 1.3 and I try run a file.jar with "jar -xf file.jar" but nothing happens.
Can someone helpme?
Thank you in advance.
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you trying to EXTRACT classes from a jar or RUN a jar?
The "jar xf" command is used to extract class from a jar. The "java -jar" command is used to run a jar.
Tutorial:
http://developer.java.sun.com/developer/Books/JAR/basics/index.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic