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

.oracle_jre_uage directory created in $HOME instead of $HOME/Library/Application Support/Oracle/JRE

XMLWordPrintable

    • x86
    • os_x

      FULL PRODUCT VERSION :
      java version "9"
      Java(TM) SE Runtime Environment (build 9+181)
      Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Darwin Lynx 16.7.0 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 x86_64

      A DESCRIPTION OF THE PROBLEM :
      The .oracle_jre_usage directory is created in user's $HOME instead of $HOME/Library/Application Support/Oracle/JRE according to operating system guidelines.

      This directory is also created on Windows, which is even worse since . directories are not hidden.

      The directory is recreated every time any java process runs.

      REGRESSION. Last worked in version 7u76

      ADDITIONAL REGRESSION INFORMATION:
      This regression was introduced in JDK/JRE 1.8_xx. I know for sure JDK 1.8_54 did not exhibit the problem, but later point releases did.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Launch any java application.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The user's home directory is not a place to keep application specific files (not use facing documents).

      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      There is no known workaround.

            pardesha Pardeep Sharma
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: