-
Enhancement
-
Resolution: Duplicate
-
P4
-
None
-
None
Java Usage Tracker should be configured for every JRE that needs to be tracked. Configuration file is in
<JRE>/lib/management/usagetracker.properties
Sometimes (actually, very often) the goal is to track all the JREs used on a desktop. Some of the JREs can be in weird locations and not installed, but simply extracted from zip/tgz archives. It may be very hard to locate all the JREs and configure them.
It would be very useful, if JUT can read its configuration from a well-known system-wide or user-wide location, similar to how java.policy is handled. That is, if the following file is present:
${user.home}/.usagetracker.properties
it should be respected by all the JREs used by this user.
<JRE>/lib/management/usagetracker.properties
Sometimes (actually, very often) the goal is to track all the JREs used on a desktop. Some of the JREs can be in weird locations and not installed, but simply extracted from zip/tgz archives. It may be very hard to locate all the JREs and configure them.
It would be very useful, if JUT can read its configuration from a well-known system-wide or user-wide location, similar to how java.policy is handled. That is, if the following file is present:
${user.home}/.usagetracker.properties
it should be respected by all the JREs used by this user.