Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8186434

Installation in Mac OSx is not working in a particular scenario

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not an Issue
    • P4
    • None
    • 8u144, 9
    • install
    • generic
    • os_x

    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.

      Attachments

        Activity

          People

            pbhat Pranav Bhat (Inactive)
            akolarkunnu Abdul Kolarkunnu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: