Swapnil Swapnil - 28 days ago 8x
Java Question

Java Unrecognized option: -xvf

I was trying to extract Java jar file as

java -xvf my.jar but it throws error

Unrecognized option: -xvf
Could not create the Java virtual machine.


java is the wrong comment for this, and ommit the -. Use jar xvf my.jar