Hello As JeanBaptiste has told me in the IRC channel, the solution is to modify the /bin/setenv file defining the JAVA_HOME for Karaf.
It's a well documented file and so easy to fix. Thank you all. [image: Inline image 2] * Jonathan Vila ** <https://www.twitter.com/jonathan_vila> <http://www.linkedin.com/in/jonathanvila>* * [email protected] <[email protected]>* On Sun, Nov 16, 2014 at 9:21 AM, Achim Nierbeck <[email protected]> wrote: > In that case might want to add that to the karaf shell script. > > sent from mobile device > Am 16.11.2014 09:15 schrieb "Jonathan Vila Lopez" <[email protected] > >: > > Oki, but I only want Karaf to use Java7. >> Do I have to export JAVA_HOME from the linux shell before everytime I >> start Karaf ? Is there any place where I can force the Java version ? >> >> >> [image: Inline image 2] >> >> * Jonathan Vila ** <https://www.twitter.com/jonathan_vila> >> <http://www.linkedin.com/in/jonathanvila>* >> >> * [email protected] <[email protected]>* >> >> >> >> >> On Sun, Nov 16, 2014 at 9:09 AM, Achim Nierbeck <[email protected]> >> wrote: >> >>> If you set the JAVA_HOME accordingly everything is working fine. >>> >>> sent from mobile device >>> Am 16.11.2014 09:02 schrieb "Jonathan Vila Lopez" < >>> [email protected]>: >>> >>> Hello >>>> >>>> It seems I'm having issues with Karaf 3.0.1 when I set Java8 as my JRE. >>>> I would like to not change the JRE but instead start Karaf using Java7. >>>> How I can do that ? >>>> >>>> Thank you. >>>> >>>> [image: Inline image 2] >>>> >>>> * Jonathan Vila ** <https://www.twitter.com/jonathan_vila> >>>> <http://www.linkedin.com/in/jonathanvila>* >>>> >>>> * [email protected] <[email protected]>* >>>> >>>> >>>> >>>> >>
