Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8243239

DeployConfig.getDeployJREs() is not returning correct information on Linux platform

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 8
    • deploy
    • linux

      AMC uses DeployConfig.getDeployJREs() to query for web-enabled JREs on a host.

      On Linux, we observe that this API is not returning the complete details of the JREs listed as enabled in he Java Control Panel. The JCP though has the right information available. Additionall, the output seems dependent on the user as which the Java launcher is invoked from for getting the right information.
       
      This behavior is unlike that observed on Windows, where-in the composite details(System+User) is returned by the API.

      Attached snaps of the JCP and the list of JREs returned by using the DeployConfig.getDeployJREs() API.



        1. DeployJREList.txt
          1 kB
        2. JCP_SystemTab.png
          JCP_SystemTab.png
          94 kB
        3. JCP_UsersTab.png
          JCP_UsersTab.png
          125 kB

            herrick Andy Herrick (Inactive)
            rkamath Rajath Kamath
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: