This content has been marked as final.
Show 3 replies
-
1. Re: What are the variables to set when upgrade JDK for Wildfly 11
vamshi1413 Apr 23, 2018 8:31 PM (in response to aiya0933)If you have multiple versions of java running on your machine and wanted to use specific version of java for appServer, then you can declare the JAVA_HOME variable and export the variable in the startup script (standalone.sh or domain.sh)
JAVA_HOME="path to java"
export $JAVA_HOME/bin
-
2. Re: What are the variables to set when upgrade JDK for Wildfly 11
aiya0933 Apr 23, 2018 11:22 PM (in response to vamshi1413)Hi,
Does it mean everytime we upgrade the JDK version, we have to change the variable in the startup script under bin folder of Wildfly 11?
Do you mean we have to run the above in command prompt?
-
3. Re: What are the variables to set when upgrade JDK for Wildfly 11
vamshi1413 Apr 24, 2018 8:29 AM (in response to aiya0933)Declaration of variable is needed only when you have multiple versions of java installed and need to use specic version.
If you have only one version of java then updating environment variables should be enough.