I am trying to run a .jar file that was created successfully in Netbeans and I am receiving the following error:
Error occurred during initialization of V
You may get this error if you issue "java -version" or other java command from a read-only directory. For example using openjdk 8 on centos (as non-root user):
cd /usr/bin
java -version
Error occurred during initialization of VM java.lang.Error: Properties init: Could not determine current working directory.