could not create java virtual machine a fatal exception has occurred 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
java -version