Results 1 to 3 of 3
I try to run
jar -xt jarfile.jar
and I get the message:
jar: operation mode already specified
and of course the file itself is not extracted.
What is wrong?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-11-2011 #1Just Joined!
- Join Date
- Sep 2011
- Posts
- 1
problem with running jar from terminal
I try to run
jar -xt jarfile.jar
and I get the message:
jar: operation mode already specified
and of course the file itself is not extracted.
What is wrong?
- 09-11-2011 #2Just Joined!
- Join Date
- Dec 2009
- Location
- California
- Posts
- 92
jar options are pretty much the same as tar options.
You can specify "x" (extract) or you can specify "t" (table of contents), but you can't specify both.
Try this:
jar xvf jarfile.jar
- 09-12-2011 #3Just Joined!
- Join Date
- May 2010
- Posts
- 30
If you are just wanting to execute (run) the jar file
java -jar jarfile.jar


Reply With Quote
