Original Message:
Sent: Nov 06, 2023 02:43 PM
From: Gary Fitzgerald
Subject: Application Manager clients Java versions
Larry, I don't use client.properties. Instead, I create a small batch file that I can also use as a shortcut on my desktop.
rem Launch Automic Applications Manager
cd %USERPROFILE%\AppWorx\AMTEST
rem Optionally use a non-default java
set JAVA_HOME="C:\Program Files\Microsoft\jdk-17.0.8.7-hotspot"
set PATH=%JAVA_HOME%/bin;%PATH%
java -jar RunClient.jar
Original Message:
Sent: Nov 03, 2023 11:32 AM
From: Larry Griswold
Subject: Application Manager clients Java versions
Thanks Gary, on the same java stuff. I am trying to include th openkdk binary with the Client.zip file. The client.properties file has problems with the below. maybe you know of a workaround?
#localOptions=true
debug=true
Thanks
Larry
logDir=log
JAVA_HOME=C:/Users/lgriswold/Downloads/appworx/DAUTO/Client/jdk-11.0.2
runOptions=-Xmx256m
Having lgriswold works, but trying a username variable does not. Do you know what I need to do to get username to work?
I have tried C:/Users/%username%/Downloads/Appworx/DAUTO/Clinet/jdk-11.0.2
And
C:/Users/%USERNAME%/Downloads/Appworx/DAUTO/Clinet/jdk-11.0.2
I get
AW_HOME: C:\Users\lgriswold\Downloads\appworx\DAUTO\Client
JAVA_HOME: C:/Users/%username%/Downloads/appworx/DAUTO/Client/jdk-11.0.2
"C:/Users/%username%/Downloads/appworx/DAUTO/Client/jdk-11.0.2/bin/javaw" -cp ".;./jars/*" -Dappworx.debug=true -DAW_HOME="C:\Users\lgriswold\Downloads\appworx\DAUTO\Client" -Xmx256m com.appworx.client.screen.main.AxMain
java.io.IOException: Cannot run program ""C:/Users/%username%/Downloads/appworx/DAUTO/Client/jdk-11.0.2/bin/javaw"": CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at com.appworx.client.local.RunClient.main(RunClient.java:58)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 5 more
End RunClient
Original Message:
Sent: Nov 01, 2023 10:30 AM
From: Gary Fitzgerald
Subject: Application Manager clients Java versions
OpenJDK 8 and 11 are supported for 9.4.x
OpenJDK 8, 11, 17 are supported for 9.5.x
Original Message:
Sent: Oct 31, 2023 07:39 AM
From: Larry Griswold
Subject: Application Manager clients Java versions
With Oracle now going to a Java subscription policy (Jan '23) customers will have a hugh increase in Java licensing costs as defined by the new policy. Java 8 is no longer free for production use, we would have to go to Java 17 or 21 to be free in prodcution
I have tried java 17 and java 21 on my windows 11 client and it seems to work. What is Broadcom stance on these versions of Java?
We are looking into OpenJDK versions also. What stance does Broadcom have on OPenJDK's also.?
We are currently running 9.4.4 of Application Manager.
Thanks
Larry