Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Java Usage Tracker: why does it fail?

Walter BoggsJun 19 2019

OS: Windows 10

JRE 1.8.0_202

I'm having trouble getting output from the Java Usage Tracker described at https://docs.oracle.com/javacomponents/usage-tracker/overview/toc.htm

I am using the example properties file describe in the document. The only change is that I removed the leading dot from the output filename ".java_usagetracker", since Windows does not want to create a file with a leading dot.

My test is a simple HelloWorld class that does execute and print the output string:

public class HelloWorld {

  public static void main(String[] args)

  {

    System.out.print("Hello World");

  }

}

The usagetracker.properties file is in C:\Program Files\Java\conf with the aim of monitoring all installed JREs - my workstation has jre1.8.0_192 and jre1.8.0_202 installed. Looking at the timestamps in oracle_jre_usage, it appears that the 202 update is the JVM that runs.

The output file specified in my properties file never gets created. Can anyone suggest what I'm missing or suggest a different test I can run? Thanks.

Comments
Post Details
Added on Jun 19 2019
0 comments
371 views