AppWorx, Dollar Universe and Sysload Community

 View Only
  • 1.  OpenJDK Instructions to use with AMv9

    Posted Nov 14, 2019 06:59 PM
    Hi,
    Does anyone have instructions on how to convert use of Oracle Java to OpenJDK 11.0.2 with Applications Manager v9?
    Thank you.

    ------------------------------
    Computer Programmer/Analyst
    Montana State Universityy
    ------------------------------


  • 2.  RE: OpenJDK Instructions to use with AMv9

    Posted Nov 15, 2019 10:24 AM
    Hi Angela,

    Are you on Windows or Linux OS? Instructions will vary based on your OS, but in general you will want to download the archive file for the java you want, extract and install to a directory distinct from your current java and then adjust the path and JAVA_HOME to point to the new java executable, and restart the AM server.

    Jim


  • 3.  RE: OpenJDK Instructions to use with AMv9

    Posted Nov 15, 2019 11:13 AM

    We are on Linux.  Ok, so you install it on the linux agents and then the users need to install it on their machines as well correct?

     

    Thanks.

    Angela

     

    Angela Hoffman

    Computer System Analyst/Programmer II

    UIT Enterprise Services Group

     

     






  • 4.  RE: OpenJDK Instructions to use with AMv9

    Posted Nov 15, 2019 11:38 AM
    Angela,

    My instructions were for the Master (you mentioned "Applications Manager"), but the routine would be similar for the agent installs. Updating to the JDK for user computers would be unnecessary, but if you wanted to, you could download the approprate Windows archive file and then set the system path for the new java.


  • 5.  RE: OpenJDK Instructions to use with AMv9
    Best Answer

    Posted Nov 18, 2019 04:01 AM
    Hi.

    The OpenJDK JRE and Oracle JRE​ are mostly compatible, we were running Automic 12.0 on OpenJDK for quite some time and that worked, even through being unsupported. In principle, it really should be a drop-in replacement. Install OpenJDK, point all your Java calls (Java agents in the service manager's .smc file) to the new java.exe by means of absolute paths in that file or by systems search path, and that's that.

    However, OpenJDK isn't supported with anything below 12.2. But then, V9 is out of support as a whole (and so is 10.x and soon 11.2), the current release is 12.3.

    Best,
    Carsten