Loading

Java

Skip Feed
  1. Understanding Oracle Java Evidence Processing and Recognition in the ARL

     

    Oracle Java recognition can be complex because a Java installation may generate multiple types of software evidence. The same device may report file evidence for Java executables, installer evidence for JDK or JRE packages, and evidence created by another Oracle product that includes an embedded Java runtime.

    The Application Recognition Library, or ARL, evaluates the available evidence to identify the applicable Java product, version, publisher and commercial classification while reducing duplicate or false-positive recognition.

    This article explains the main evidence-processing principles used for Oracle Java.

     

     

    Types of Java evidence

    1) File evidence

    File evidence is collected from Java executable files and their associated metadata. The primary executable patterns considered for Oracle Java recognition are:

    • java.exe
    • javaw.exe

    The ARL assesses attributes such as:

    • File and product version
    • Product name
    • File description
    • Company or publisher
    • Installation path

    The java.exe executable may be present in both JDK and JRE installations. Therefore, an executable alone may confirm the presence of Java without always proving whether the installation is a standalone JDK, a standalone JRE, or Java embedded within another product.

    The FlexNet Inventory Agent can also collect detailed file metadata when Oracle Java scanning is enabled, including the installation path, product name, publisher, Java version and related properties.

     2) Installer evidence

    Installer evidence may be generated by:

    • Native Java installers
    • MSI or package-manager installations
    • FlexNet Inventory Agent Java inspection
    • Oracle Universal Installer, or OUI
    • Another software product containing an embedded Java runtime

    Installer evidence reported with the raw evidence type Java is collected after the FlexNet Inventory Agent locates a Java executable and runs supported Java version commands. Consequently, this evidence normally has corresponding Java executable file evidence

      

    How the ARL determines the Java product

    Java Platform

    When the available file metadata identifies Java or Java Platform but does not reliably distinguish JDK from JRE, the evidence may be associated with Java Platform.

    This provides visibility that Java is present while avoiding an unsupported assertion that the executable represents a separate JDK or JRE installation.

     Java Development Kit

    Evidence is evaluated for JDK recognition when reliable attributes identify terms such as:

    • JDK
    • Java Development Kit
    • JDK-specific product metadata

    Beginning with Oracle JDK 11, Oracle no longer offers separate JRE or Server JRE downloads. Runtime capabilities are provided as part of the JDK distribution

     Java Runtime Environment

    Evidence may be associated with JRE when reliable metadata identifies:

    • JRE
    • Java Runtime Environment
    • A supported JRE installer pattern

    JRE-specific mapping is generally applicable to Java 10 and earlier, subject to the evidence containing sufficient product and publisher information.

      

    Publisher validation

    Java is also distributed or repackaged by vendors other than Oracle. To reduce incorrect attribution:

    • Evidence is mapped to Oracle Java only when the available publisher or file metadata supports Oracle attribution.
    • Evidence clearly identifying IBM, SAP, Red Hat, BellSoft or another Java distributor should not be automatically attributed to Oracle.
    • Evidence without reliable publisher or company information may be ignored or left unrecognised when the vendor cannot be established with sufficient confidence.
    • Version patterns known to be associated with repackaged Java distributions are reviewed separately rather than automatically mapped to Oracle.

    The current ARL guidance records that Java evidence without publisher or company information is ignored, and that certain repackaged version patterns require special handling.

    This validation is important because identical or similar Java executable names may be used across different Java distributions.

      

    Handling Oracle Universal Installer (OUI) Evidence

    Oracle Universal Installer (OUI) evidence may be generated when Java components are installed as part of other Oracle products. As a result, the presence of OUI evidence does not necessarily indicate that Oracle Java was installed as a standalone product.

    Examples of Oracle Java-related OUI evidence patterns include:

    • Oracle.JDK
    • Oracle.JRE
    • Oracle.JDK Enterprise
    • Oracle.JRE Enterprise

    For example, Oracle.JDK and Oracle.JRE with evidence type OUI have been identified as patterns that can originate from Oracle product installations rather than an independent Java installation. To reduce false-positive Oracle Java recognition, Oracle Java evidence with evidence type OUI will be ignored in ARL.

      

    Why is OUI evidence ignored?

    Ignoring Oracle Java OUI evidence helps:

    • Reduce false-positive recognition of Oracle JDK and JRE.
    • Avoid recognising Java as a standalone installation based solely on evidence generated by another Oracle product.
    • Ensure Oracle Java recognition is based on stronger evidence associated with the actual Java installation.

     

     Evidence that may be ignored

    Java evidence may be ignored when it does not provide sufficient confidence for reliable recognition. Examples include:

    • Evidence with no publisher or company information.
    • Files that cannot be validated as Java product evidence.
    • Known repackaged or vendor-specific patterns that must not be attributed to Oracle.
    • Generic Oracle component evidence that does not establish a standalone Java installation.
    • OUI patterns known to be generated by another Oracle product.
    • Supporting executables that do not independently prove installation of the Java product.

    Ignoring evidence means that the record is not used to recognise an ARL application. It does not remove the raw inventory evidence collected from the device.

     

    What customers may see

    As Java recognition rules are refined, customers may observe:

    • A Java application being associated with a more appropriate publisher.
    • Evidence moving between public and commercial Java applications after build-level validation.
    • Duplicate JDK or JRE recognition being suppressed by precedence.
    • OUI-based false-positive recognition being removed.
    • Previously unrecognised Java evidence becoming recognised after ARL enrichment.
    • Evidence remaining unrecognised when the publisher or product cannot be determined reliably.

    Changes in recognised installation counts do not necessarily mean that software was installed or removed. They may result from improvements to evidence mapping, classification or application precedence.

     

    Recommended customer actions

    Customers investigating an Oracle Java recognition result should review:

    • Application Transparency to identify the evidence contributing to recognition.
    • The file path, publisher, product name, file version and evidence type.
    • Whether both file and installer evidence exist for the same installation.
    • Whether the Java runtime is standalone or embedded within another product.
    • The latest ARL version available in their environment.

    If evidence appears to be incorrectly mapped, submit a Flexera Support case with:

    • The recognised application name and Flexera application ID.
    • Exported installer and file evidence.
    • The relevant device inventory or NDI file.
    • The Java installation path.
    • Output from java -version or equivalent vendor information, where available.
    • Details showing whether Java was installed independently or supplied with another product.

    This information enables Flexera to distinguish a content-mapping issue from incomplete, stale or ambiguous inventory data.

     

    Important note : ARL recognition provides software inventory and normalization information. It does not determine whether an organization requires an Oracle Java licence or establish its contractual obligations. Customers should assess recognized installations against their applicable Oracle agreements and obtain appropriate licensing guidance where necessary.

    Expand Post

    VLENGUYEN likes this.

  2. Managing Java reporting excess data from ARL update

     

    Prior to November 2025, reporting for commercial installations of Java, using the Application Transparency Report (as recommended by Flexera), had been working well.

    This is described in this best practices video: https://youtu.be/jMD_AijaBXw?si=pwQ3sMOJ3xt0Esoh&t=1872.

     

    The ARL/SKU/PURL update of November 16, 2025 added a precedence rule that effectively inserts installer evidence into the Java platform application that previously were only using file evidence. Announcement here: https://community.flexera.com/s/feed/0D5PL00000glvjd0AA

     

    Since this change, the number of rows returned when reporting on Java using the Application Transparency Report has basically doubled. Typically, for every installation of Java detected using file evidence, there is now a second line that is derived from the installer evidence via the suite recognition.

     

    To eliminate this extra data from the Java reports you can run the report as you previously did, however once the report is displayed, add a filter to the Suite member application column and set the filter to Is blank. The report will now perform as it did, prior to the November 2025 change.

     

    Note that Java recognition is based on file evidence, as this is the only reliable way to retrieve the accurate application build information needed to correctly identify the version of installed Java; and therefore to determine if the installation is commercial (requiring a license).

     

    Expand Post

    May 2023: Keep Java under Control with Flexera ITAM!

    SAM is a discipline with great benefits but also great challenges. If you’re a SAM manager, in charge of SAM implementation in your organization and using Flexera tools, or if you’re a Flexera partner, watch this knowledge-sharing session.

    • 00:00 Kick Off & Agenda
    • 01:29 Pointers for the last session ("SAM Operations Hub") material and answers to questions
    • 02:23 News
    • 05:00 Managing Java / Agenda
    • 06:09 Context: The challenges of Java.
    • 10:33 How Flexera Helps you (Overview)
    • 14:48 Flexera is Java verified
    • 17:22 Flexera specific Normalization for Java and recent changes of ARL 2740
    • 24:52 Useful advices: use a recent version of the agent with file evidence, don't update Java when asked!
    • 30:59 Managing Embedded Java Instances (Exemption by file path) - Demo
    • 39:34 Java transparency with the New Oracle Java Worksheet
    • 46:24 Step by step process for creating Java licenses
    • 50:00 Demo
    • 54:45 Wrap up

    https://youtu.be/jMD_AijaBXw?si=pwQ3sMOJ3xt0Esoh&t=1872


    LicenseJakob, ChrisG, and 2 others like this.
    1 of 2
    • Did this issue impact anything besides the ATR?

  3. Oracle Java Licensing - 'Public' (freeware) vs. Commercial

    Is it still accurate to say that the Public versions of Oracle Java in Flexera are still freeware? e.g. from this KB article: (Unravelling the mysteries of Java (and other products) actual versions for licensing )

     

    I am trying to catch up on Oracle Java guidance and it's giving me a brain aneurysm. Any guidance or support would be greatly appreciated.


    • JohnSorensenDK (Flexera Software)

      @johnksilverwood​ 

      AFAIK the versions relevant for licensing that was called out in this link are still correct. However (and IIRC), Oracle changed the licensing metrics after this article was published, so please make sure to also consult Oracle's official sites for the latest on Java licensing.

       

      Thanks,

      John Sorensen

      Expand Post

  4. simonclarke69 likes this.
    1 of 4
    • Is it possible to ascertain which items are commercial ? We have recently updated ARL,PURL and EOSL and I still dont see any Dashboard Alerts or Items in the Unlicensed Area ? My most accurate piece of guess work is Java v17.x ought to be alerting. Thank you

    • It's been a while since I did this, but if I recall correctly when we wanted to do multiple java paths we had to use a custom solution through Snow Professional Services. As far as I am aware there is no support for multiple paths.

  5. Oracle Java Scanner detailed documentation

    Hi everybody, is there a detailed documentation about the Oracle Java Scanner for Windows?

    I mean like really detailed. I need to know if a Java needs to be installed (hopefully not) in order the java scanner to work and if so how does the scanner check where it is installed.

    Or would it be enough to just copy the binaries to the server.

    The "env.java_home" setting in the snowserver.config did not work at all for the java scanner.

     

    Thanks in advance for any hint.

     

    Best regards,

    Rainer

     

    cc to @Arnis Kalniņš​​ @Reza Rezapour​ @Martin Fruhwirth​ 

    Expand Post

    1 of 6

  6. Snow Inventory Agent 6.8.2 with Java Scanner 2.0 takes hours to scan and consumes lots of GB RAM

    Hello all,

    we currently have discovered a situation, where the Snow Inventory Java Scanner 2.0 1.01 script runs for >10+ hours and consumes 4 GB of RAM with JRE 8/Win 10: SIJSAre there any know reasons for this effect?

    What would be a workaround?

     

    BW Björn

     

    Expand Post

    1 of 8

  7. Java SE - Some machines not showing installations

    I have been asked by our SAM team as to the reason why some machines that they think have Java SE installed aren't showing.

    For diagnostics I have been looking in the table tblComputerSoftwareProduct (our server based data is fed from iQuate, and software seems to appear here, not tblComputerSoftware where agent based data goes). For a specific server I can see the following...

     

    tblComputerSoftwareProduct2 entries with a rather generic Java - derived software.

     

    Checking the rule definitions the Snow holds for Java SE 7 (OpenJDK) Update 241 (Linux). we can see the following...

     

    smacc rulevs the raw package information that iQuate sends it...

     

    iquate data 

    Note the – in the rule after the 241 (vs no - on the what iQuate sends). Assuming this wildcard pattern is what Snow uses as part of the software recognition, it may explain why I am not seeing any entries for the package/patch in question. Has anyone else encountered this?

     

    THanks

    Colin

    Expand Post

    1 of 3
    • Hi,

       

      I have no good news for you. A new software hash is created per Name, Manufacturer, Vendor, OsType or DataSource. This software hash is used for the actual mapping with application in SLM.

       

      So yes, you have to identify each version of your application and per OS and send this information to Snow support. You do not need to do it per server.

       

      Also note that, the Snow update Service synchronizes the SRS database. It download the last definition but it also upload you data to Snow so they can update the SRS database.

      More on Snow Update Service here.

       

      Kind Regards

       

      Christophe

      Expand Post

End of Feed
End of Feed
8 Chatter Feed Items
ALL CONVERSATIONS
UNSOLVED
ARTICLES
18 Posts
2 members are discussing this topic.
Loading
Java | Flexera