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.