-
Bug
-
Resolution: Fixed
-
P2
-
8u60
-
b04
-
x86_64
-
windows_7
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8170616 | 9 | Kevin Walls | P2 | Resolved | Fixed | b148 |
JDK-8156421 | 8u111 | Poonam Bajaj Parhar | P2 | Resolved | Fixed | b01 |
JDK-8162289 | emb-8u111 | Poonam Bajaj Parhar | P2 | Resolved | Fixed | b01 |
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.
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.
- backported by
-
JDK-8156421 .oracle_jre_usage folder must not be created in C:\Users\myName
- Resolved
-
JDK-8162289 .oracle_jre_usage folder must not be created in C:\Users\myName
- Resolved
-
JDK-8170616 .oracle_jre_usage folder must not be created in C:\Users\myName
- Resolved
- relates to
-
JDK-8024029 Need a method to query app data directory
- Open
-
JDK-8135224 .oracle_jre_usage directory is created in user home directory
- Closed