-
1. Re: Jboss AS6 to Wildfly 8 Upgrade
ctomc Apr 25, 2017 10:40 AM (in response to ashwin0202)just set JAVA_HOME enviroment variable to proper value before starting standalone.sh
or in standalone.conf if you are using service.
so something like
export JAVA_HOME=/path/to/jdk/
/path/to/wildfly/bin/standalone.sh <params>
should do it
same goes for all other scripts.
-
2. Re: Jboss AS6 to Wildfly 8 Upgrade
claudio4j Apr 25, 2017 10:43 AM (in response to ashwin0202)Hi Ashwin, as you wants to upgrade wildfly, I recommend to use latest wildfly 10.1 (Downloads · WildFly )
You can use different JDK version, the bin directory contains domain.sh and standalone.sh, just modify them and add the JAVA_HOME=/jdk_path.
-
3. Re: Jboss AS6 to Wildfly 8 Upgrade
ashwin0202 Apr 25, 2017 12:59 PM (in response to ctomc)Thanks for the response.
If I make any changes to JAVA_HOME environment, it may impact current running Jboss AS 6.
So, I want to know what are the steps/files do I need to modify so that only Wildfly 8 picks jdk 1.8 ?
-
4. Re: Jboss AS6 to Wildfly 8 Upgrade
ctomc Apr 25, 2017 1:10 PM (in response to ashwin0202)Ashwin K wrote:
So, I want to know what are the steps/files do I need to modify so that only Wildfly 8 picks jdk 1.8 ?
As I told you, set JAVA_HOME in your service configuration or in standalone.conf (for standalone.sh script)