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

.oracle_jre_usage directory is created in user home directory

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      os_x

      Description

      FULL PRODUCT VERSION :
      java version "1.8.0_60"

      ADDITIONAL OS VERSION INFORMATION :
      Darwin 13.4.0 Darwin Kernel Version 13.4.0: Wed Mar 18 16:20:14 PDT 2015; root:xnu-2422.115.14~1/RELEASE_X86_64 x86_64

      A DESCRIPTION OF THE PROBLEM :
      Executing any java process creates .oracle_jre_usage directory in the users $HOME directory with a single timestamp file inside it.

      This started happening with the JDK 1.8u80 update (in previous versions such directory was not created).

      Note that this is not an appropriate location to store such files. In Mac OS X convention such files ought to be stored in

      ~/Library/Application Support/Oracle/Java/

      However, I am not sure if JRE usage tracking should be enabled by default to begin with.

      REGRESSION. Last worked in version 8u51

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Invoke java or javac and the ~/.oracle_jre_usage directory is (re-)created



      REPRODUCIBILITY :
      This bug can be reproduced always.

        Issue Links

          Activity

          Hide
          pardesha Pardeep Sharma added a comment -
          Confirmed this for MAC OS X as well. Closing this as duplicate of JDK-8134300
          Show
          pardesha Pardeep Sharma added a comment - Confirmed this for MAC OS X as well. Closing this as duplicate of JDK-8134300
          Hide
          mcastegr Mattis Castegren (Inactive) added a comment -
          I'm re-opening this bug. JDK-8134300 fixed this for Windows only, but this should be fixed on all platforms, both OS X and Linux/Solaris.
          Show
          mcastegr Mattis Castegren (Inactive) added a comment - I'm re-opening this bug. JDK-8134300 fixed this for Windows only, but this should be fixed on all platforms, both OS X and Linux/Solaris.
          Hide
          pbhat Pranav Bhat (Inactive) added a comment - - edited
          Curious as to why is this an install bug? The .oracle_jre_usage is not created by install team/code and this is most likely a VM issue..
          Show
          pbhat Pranav Bhat (Inactive) added a comment - - edited Curious as to why is this an install bug? The .oracle_jre_usage is not created by install team/code and this is most likely a VM issue..
          Hide
          mcastegr Mattis Castegren (Inactive) added a comment -
          Agree, this would be a runtime bug (previously serviceability)
          Show
          mcastegr Mattis Castegren (Inactive) added a comment - Agree, this would be a runtime bug (previously serviceability)
          Hide
          dholmes David Holmes added a comment -
          Should be core-svc as per JDK-8134300 - the changes are not in the hotspot code but in the JDK.
          Show
          dholmes David Holmes added a comment - Should be core-svc as per JDK-8134300 - the changes are not in the hotspot code but in the JDK.
          Hide
          jlahoda Jan Lahoda added a comment -
          As JDK-8134300 was a P2, I am setting this one to P2 as well.
          Show
          jlahoda Jan Lahoda added a comment - As JDK-8134300 was a P2, I am setting this one to P2 as well.

            People

            • Assignee:
              jgeorge Jini George
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated: