How Do You Troubleshoot the Java Error “java.lang.Error: Properties init: Could not determine current working directory”?

Problem scenario
You run this command:
javac -version

But you receive this error:  "Error occurred during initialization of VM java.lang.Error: Properties init: Could not determine current working directory."

How do you solve this problem?

Solution
Log out of Linux and log back in.

Leave a comment

Your email address will not be published.