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
JavaRanch » Java Forums » Java » Beginning Java
Bookmark ".jar" Watch ".jar" New topic


Ranch Hand

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

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.

"JavaRanch, where the deer and the Certified play" - David O'Meara
subject: .jar