Unrecognized option: -Version Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. code example
Example: Unrecognized option: --version Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.
java -version