Inventory gathered by the inventory component (ndtrack) does not include details about files named “java.exe” found on Windows computers unless the PerformOracleJavaAuditScan preference is enabled (set to TRUE).
The intention of the PerformOracleJavaAuditScan preference is that it should be enabled in order to gather data about Oracle Java installations to assist with Oracle Java audits. Due to this issue, this preference must also be enabled in order to gather basic data about files named “java.exe” on Windows computers. If this preference is not enabled, these details will not be gathered.
This issue does not affect non-Windows computers.
Enable the PerformOracleJavaAuditScan preference to include details of files named “java.exe” in the generated inventory NDI file. This preference can be enabled through agent policy by checking the Enable collection of Oracle Java audit data check box located on the Inventory Settings page.
Additional details about this preference can be found in Flexera One IT Asset Management documentation: PerformOracleJavaAuditScan.
If ndtrack.exe is being invoked directly, the preference can be enabled using command line options. For example:
To reproduce this behavior, execute the ndtrack.exe inventory gathering process as follows, including specifying the full path to a directory containing an installation of Java that includes the file “java.exe”:
The generated inventory NDI file will include details of .exe files under the identified directory except for any files named “java.exe”.
Fixed versions of the inventory component now gather basic details about java.exe files found on the filesystem of Windows computers regardless of the value of the PerformOracleJavaAuditScan preference.
Note that this preference must still be enabled (set to true) in order to gather details about Java installations required to assess Oracle Java license requirements. This preference can be enabled through agent policy by checking the Enable collection of Oracle Java audit data check box located on the Inventory Settings page.
Also see the following article which describes another possible cause for details about files named “java.exe” not being included in inventory: