JDK-8187799 : .oracle_jre_uage directory created in $HOME instead of $HOME/Library/Application Support/Oracle/JRE
  • Type: Bug
  • Component: core-svc
  • Sub-Component: tools
  • Affected Version: 9
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: os_x
  • CPU: x86
  • Submitted: 2017-09-22
  • Updated: 2017-09-22
  • Resolved: 2017-09-22
Related Reports
Duplicate :  
Description
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.


Comments
This is a core-svc issue. Closing this as a duplicate of JDK-8135224
22-09-2017