You can setup the JAVA_HOME in the instances/MY_INSTANCE/bin script
(karaf/admin).
Regards
JB
On 05/08/2012 10:46 AM, gasius wrote:
Thak you, admin:change-opts works fine!
But now I have another question. How admin:start command locates JAVA_HOME?
I had set JAVA_HOME to point to my Java JDK but I see that child instance is
started using JRE. None of changes in admin script works because it
dedicates execution to org.apache.karaf.admin.main.Execute. Starting child
instance using JRE causes some issues for us.
--
View this message in context:
http://karaf.922171.n3.nabble.com/Customizing-JAVA-OPTS-of-child-instance-tp3969455p3970743.html
Sent from the Karaf - User mailing list archive at Nabble.com.
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com