Details
Description
OS Version : OS X 10.11.4
Steps to reproduce:
Move to directory /Library/Java/JavaVirtualMachines from terminal
Uninstall all installed JDKs
Install a fresh JDK(Stay in directory /Library/Java/JavaVirtualMachines in terminal while installation)
It is not getting installed correctly.
Output of 'ls' command from /Library/Java/JavaVirtualMachines is empty list
Output of java -version(We have to be in the same folder:/Library/Java/JavaVirtualMachines):
Error occurred during initialization of VM
java.lang.Error: Properties init: Could not determine current working directory.
at java.lang.System.initProperties(Native Method)
at java.lang.System.initializeSystemClass(System.java:1166)
If we move to some other folder after installation and come back, everything work as expected.
Steps to reproduce:
Move to directory /Library/Java/JavaVirtualMachines from terminal
Uninstall all installed JDKs
Install a fresh JDK(Stay in directory /Library/Java/JavaVirtualMachines in terminal while installation)
It is not getting installed correctly.
Output of 'ls' command from /Library/Java/JavaVirtualMachines is empty list
Output of java -version(We have to be in the same folder:/Library/Java/JavaVirtualMachines):
Error occurred during initialization of VM
java.lang.Error: Properties init: Could not determine current working directory.
at java.lang.System.initProperties(Native Method)
at java.lang.System.initializeSystemClass(System.java:1166)
If we move to some other folder after installation and come back, everything work as expected.