JDK-8134300 : .oracle_jre_usage folder must not be created in C:\Users\myName
  • Type: Bug
  • Component: core-svc
  • Affected Version: 8u60
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_7
  • CPU: x86_64
  • Submitted: 2015-08-21
  • Updated: 2018-01-30
  • Resolved: 2016-04-21
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 JDK 9
8u102 b04Fixed 9Fixed
Related Reports
Relates :  
Relates :  
Sub Tasks
JDK-8175380 :  
Description
FULL PRODUCT VERSION :
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)

ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7601]

A DESCRIPTION OF THE PROBLEM :
In my user drirectory, a folder named .oracle_jre_usage is created. This is not according to Windows conventions & it frustrates me to no end that the JRE and other Java programs still don't follow the rules that were introduced with Windows Vista, over 8 years ago.

There are 2 issues:
- the naming of the directory: starting the name with a dot isn't going to hide the directory on Windows!
- the location of the directory: on Windows, there are folders like:
C:\Users\myName\AppData\Local
C:\Users\myName\AppData\Roaming
C:\ProgramData
to store application data, each with their specific purpose

The root cause is that Java still doesn't provide an API to determine where to store application data. This should properly & fully be fixed with bug JDK-8024029, which should be given higher priority.

REGRESSION.  Last worked in version 8u60


REPRODUCIBILITY :
This bug can be reproduced always.