This content has been marked as final.
Show 2 replies
-
1. Re: Not able to change java home path in wildfly 9.0.2
jaysensharma Jan 8, 2016 1:16 AM (in response to nish18)Did you set the JAVA_HOME to point to JDK 1.8 installation inside the "wildfly-9.0.2.Final/bin/standalone.conf" (on WINDOWS edit the file "standalone.conf.bat" ) instead.
Unix Based OS "standalone.conf"
JAVA_HOME="/PATH/TO/jdk1.8.0"
Windows Based OS "standalone.conf.bat"
set "JAVA_HOME=C:\opt\jdk1.8.0" set "JAVA=C:\opt\jdk1.8.0\bin\java"
Regards
Jay SenSharma
-
2. Re: Not able to change java home path in wildfly 9.0.2
jaysensharma Jan 8, 2016 1:26 AM (in response to nish18)If you are in domain mode then you can define the JAVA_HOME for individual servers inside the "host.xml" file as following:
<servers> <server name="server-one" group="main-server-group"> <jvm name="test" java-home="C:\opt\jdk1.8.0" /> </server> . . </servers>
Regards
Jay SenSharma