aspose file tools*
The moose likes Beginning Java and the fly likes .jar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark ".jar" Watch ".jar" New topic
Author

.jar

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
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

Joined: Sep 29, 2000
Posts: 8521
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


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: .jar