Discussions
Categories
- 196.8K All Categories
- 2.2K Data
- 239 Big Data Appliance
- 1.9K Data Science
- 450.3K Databases
- 221.7K General Database Discussions
- 3.8K Java and JavaScript in the Database
- 31 Multilingual Engine
- 550 MySQL Community Space
- 478 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3K ORDS, SODA & JSON in the Database
- 544 SQLcl
- 4K SQL Developer Data Modeler
- 187K SQL & PL/SQL
- 21.3K SQL Developer
- 295.8K Development
- 17 Developer Projects
- 138 Programming Languages
- 292.5K Development Tools
- 107 DevOps
- 3.1K QA/Testing
- 646K Java
- 28 Java Learning Subscription
- 37K Database Connectivity
- 155 Java Community Process
- 105 Java 25
- 22.1K Java APIs
- 138.1K Java Development Tools
- 165.3K Java EE (Java Enterprise Edition)
- 18 Java Essentials
- 160 Java 8 Questions
- 86K Java Programming
- 80 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.3K Java SE
- 13.8K Java Security
- 204 Java User Groups
- 24 JavaScript - Nashorn
- Programs
- 439 LiveLabs
- 38 Workshops
- 10.2K Software
- 6.7K Berkeley DB Family
- 3.5K JHeadstart
- 5.7K Other Languages
- 2.3K Chinese
- 171 Deutsche Oracle Community
- 1.1K Español
- 1.9K Japanese
- 232 Portuguese
What is the folder $HOME/.oracle_jre_usage for?

Hello!
Today I updated my JRE to version 1.8.0_60. Afterwards I got a folder $HOME/.oracle_jre_usage/. In this folder is one file *.timestamp. What is that and what is that for?
Thanks in advance.
Phantasmagorium
Answers
-
Yes, Why has this appeared? Why this location? I also had this folder show up, ".oracle_jre_usage" containing on file called, "48ac84126bcac2aa.timestamp" - this folder was arbitrarily placed in C:\Users\"my name"\.oracle_jre_usage. Does it need to be there? Why was I not informed of it? Why was I not given an option as to where to put it? Can I move it somewhere else? Can I delete it? What is is it? What does it do? Is it necessary?
-
Today I updated my JRE to version 1.8.0_60. Afterwards I got a folder $HOME/.oracle_jre_usage/. In this folder is one file *.timestamp. What is that and what is that for?
That is the default location for the Java Usage Tracker. See the Oracle docs
https://docs.oracle.com/javacomponents/usage-tracker/overview/
As that doc section shows you can create a properties file to enable the tracker and configure the location and contents of the logging.
The tracker has been around since the early Java versions.
-
The tracker has been around but, but there seems to be some regression in that it now puts this folder there even if you haven't actually enabled the tracker.
-
Hello Community!
I know that´s a old Question, but I´ve the same problem (on 8 PC´s) and today, finally, I´ve successfully create the properties file and the usagetracker save his log in an other folder.
BUT, this tiresome folder ($HOME/.oracle_jre_usage) appears also, so I think this folder/ timestamp has not to do with the usagetracker.
Is there any people out there how knows something about the folder/ timestamp in my files folder?
Best Regards
Hans
-
I know that´s a old Question, but I´ve the same problem (on 8 PC´s)
Not sure what you mean - there IS NO problem. OP merely asked a question.
and today, finally, I´ve successfully create the properties file and the usagetracker save his log in an other folder.
Ok - but as I said above that is EXACTLY what the properties file is for.
BUT, this tiresome folder ($HOME/.oracle_jre_usage) appears also, so I think this folder/ timestamp has not to do with the usagetracker. Is there any people out there how knows something about the folder/ timestamp in my files folder?
I already answered that in my first reply.
If you believe you actually have some 'problem' that needs addressed I suggest you create your own thread and post ALL of the info needed to help you. That info would include:
1. the os name and full version
2. the full java version
3. the path and classpath your test uses.
4. the test script or command window commands showing WHAT you do and HOW you do it and that use the path and classpath you provide in step #3
5. the properties file contents and full path and name
6. the contents of the oraclel_jre_usage folder and the folder where you say the log file is created
7. the contents of the log file
-
I personally do feel this is a PROBLEM.
However that is because I have my custom app environment set up on a removable drive which I use on an ever-changing set of machines, using the concept of "Portable Apps".
Other people may not care, but I certainly do thing that Java should not arbitrarily create files and folders on the host system outside of its own JAVA_HOME environment, and certainly not in the top-level root of my OS' user directory when there is no good (user opted-in) reason for it.
The Oracle devs and PTB may not consider it a problem either.
I have solved it for myself by adding a line to the batch files that launch all my Java-driven programs, to delete that folder on exit.
Kludgey workaround, but may help others that are also annoyed by this behaviour..
--------
Update: found this bug report https://bugs.openjdk.java.net/browse/JDK-8134300