Swapnil Swapnil - 1 year ago 109
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.

Answer Source

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