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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Not an Issue
    • Affects Version/s: 8
    • Fix Version/s: None
    • Component/s: deploy
    • Labels:
    • OS:
      linux

      Description

      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.



        Attachments

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

          Activity

            People

            • Assignee:
              herrick Andy Herrick
              Reporter:
              rkamath Rajath Kamath
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: