Automic Workload Automation

 View Only

  • 1.  Is v24 linux/unix agent java 17 mandatory?

    Posted Jun 30, 2025 11:14 AM
    Edited by Olgun Onur Ozmen Jun 30, 2025 11:24 AM

    Hi ,

    When we try to UP in linux /unix agent v24 in the classic way (not in java up), does it still use java 17 on host ? Is java 17 mandatory for classic linux agent?

    host bash_profile = java 11 , external path java 17

    If java 17 mandatory for classic linux agent, when we give the java in an external path as a parameter for up action (as in the documentation) ,  it still sees the bash_profile java 11 on the host again. bash_profile set java 17 path on host is mandatory?

    host bash_profile = java 11 , external path java 17

    if we set java 17 path on bash_profile . succesfully up .  As we understand here, it seems that we need to give the java 17 path to bash_profile. right? 

    Thanks.



    ------------------------------
    Olgun Onur Ozmen
    https://www.linkedin.com/in/olgunonurozmen/
    ------------------------------



  • 2.  RE: Is v24 linux/unix agent java 17 mandatory?

    Broadcom Employee
    Posted Jul 01, 2025 04:48 AM

    Hi @Olgun Onur Ozmen

    Please be aware that (nearly) all components of Automic Automation v24.4.x (and up) require at least Java 17.
    This is documented in the Compatibility Matrix https://docs.automic.com/tools/compatibility_matrix?compatibility-mode=component&offering_version_id=components&lifecycle_entity_id=1409143059253&component_id=1409143059262&version_id=1740343151417

    So, make sure that Java 17 is properly install in your environment.

    In order to prevent any issues please start the Agent in the same way as in the past by triggering the executable (e.g. ucxjlx6) and not only the jar-file.

    Michael



    ------------------------------
    Michael K. Dolinek

    Engineering Program Manager | Agile Operation Division
    Broadcom Software
    ------------------------------



  • 3.  RE: Is v24 linux/unix agent java 17 mandatory?

    Posted Jul 01, 2025 05:05 AM
    Edited by Olgun Onur Ozmen Jul 16, 2025 10:02 AM

    hi @Michael Dolinek ,

    Thanks for the answer but it doesn't seem to cover my question. 

    classic approach : /opt/automic/Agentsv24/linux/bin/ucxjlx6 -svc%port%

    java approach : java -jar /opt/automic/Agentsv24/linux/bin/ucxjoss.jar  ( edit: there is no for type of approach)

    my question is : Is java 17 mandatory in the classical approach? If so, is bash_profile java_home mandatory on classical approach ?

    as you can see in the screenshot above, if you do not specify java 17 java_home in the bash_profile, the agent does not start when you up with executable ucxjlx6 (classic approach) .  is java 17 mandatory for classic approach executable ucxjlx6 ( not ucxjoss.jar)  ?

    there are some servers where old java 11 is used as bash_profile java_home. in these case , we cannot set java 17 in bash_profile. when I set java 17 path as a parameter from the outside on classic approach. it didn't turn up that way either. that's why i ask :)

    Thanks.



    ------------------------------
    Olgun Onur Ozmen
    https://www.linkedin.com/in/olgunonurozmen/
    ------------------------------



  • 4.  RE: Is v24 linux/unix agent java 17 mandatory?

    Posted Jul 01, 2025 05:28 PM

    There is another solution to that.

    In bin directory of the agent create a soft link to the java folder called 'jre'

    /opt/automic/java/openjdk17-jre/ -> /opt/automic/agent/linux/bin/jre

    Having a 'jre' folder in bin will force the agent to use that java even if you have another JAVA_HOME set in your profile or systemwide.



    ------------------------------
    ------------------------------
    Automic SME @ DXC.Technology
    ------------------------------
    ------------------------------



  • 5.  RE: Is v24 linux/unix agent java 17 mandatory?

    Posted Jul 16, 2025 09:29 AM
    Edited by Olgun Onur Ozmen Jul 16, 2025 09:34 AM

    Hi @Krum Ganev  , 

    I tried like this. but same error. should I also find jre for openjdk 17 from outside ?  or is there anything missing from your point of view?

    >Command execution failed with return code: 32512<
    Please check your environment, minimal supported JVM version is 17.

    i used openjdk 17:

    Link Command:

    ln -s /apps/automic/java/java17/bin      /apps/automic/Agentsv24/linux/bin/jre

    Agent bin folder: 

    cannot find java 17 :

    Thanks.,



    ------------------------------
    Olgun Onur Ozmen
    https://www.linkedin.com/in/olgunonurozmen/
    ------------------------------



  • 6.  RE: Is v24 linux/unix agent java 17 mandatory?
    Best Answer

    Posted Jul 16, 2025 01:45 PM

    Thats because you link the bin directory of java. You need one up.

    In the bin of the agent the softlink needs to point to the jre.

    Updated command :

    ln -s /apps/automic/java/java17     /apps/automic/Agentsv24/linux/bin/jre

    /apps/automic/agent/unix/bin/jre/bin/java would be the executable.



    ------------------------------
    ------------------------------
    Automic SME @ DXC.Technology
    ------------------------------
    ------------------------------



  • 7.  RE: Is v24 linux/unix agent java 17 mandatory?

    Broadcom Employee
    Posted Jul 02, 2025 03:41 AM

    Hi Olgun,

    please note that running ucxjoss.jar directly is not an option. Always start the agent using the ucxjlx6 binary. It will then search for the JRE as described at the following link:

    https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/24.4.0/Automic%20Automation%20Guides/Content/InstallAgents/InstallAgentUNIX_LinuxJava.htm#link3

    The loader ucxjlx6 then launches the jar file.

    Let me know if you have any additional questions!

    Regards, Markus




  • 8.  RE: Is v24 linux/unix agent java 17 mandatory?

    Posted Jul 16, 2025 10:00 AM
    Edited by Olgun Onur Ozmen Jul 16, 2025 10:00 AM

    Hi @Markus Embacher

    thanks. noted. only ucxjlx6 .  but our problem is that there is a different java 8 or 11 version JAVA_HOME in .bash_profile on the host. so we also need to run v24 linux agent with java17. what do you suggest for this problem ?

    Regards.



    ------------------------------
    Olgun Onur Ozmen
    https://www.linkedin.com/in/olgunonurozmen/
    ------------------------------