You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@karaf.apache.org by sekaijin <jy...@yahoo.fr> on 2013/10/30 17:23:18 UTC

jre problem with MacOS and Karaf

Hi
I'm using karaf 2.2.2 on MacOS 10.9

in karaf script to launch karaf I've seen 

Apple no longer distributes Java since version 10.6
an the Oracle distribution for MacOS place java in /Library/Java/Home.
the locateJava function does not work.

Even changing this path, I'm not able to do the wrapper function.
I to replace the line

by


in some MacOS installation I've seen 2 distribution of Java one from Apple
other from Oracle.

Bye.



--
View this message in context: http://karaf.922171.n3.nabble.com/jre-problem-with-MacOS-and-Karaf-tp4030117.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.

Re: jre problem with MacOS and Karaf

Posted by Achim Nierbeck <bc...@googlemail.com>.
I opened a new issue for this:
https://issues.apache.org/jira/browse/KARAF-2541

regards, Achim


2013/10/30 Achim Nierbeck <bc...@googlemail.com>

> Ok, if you have the JAVA_HOME configured, the wrapper will pick it up and
> use it in the wrapper.conf, though I'm going to change the way the
> JAVA_HOME is found in case it's not configured in the users .bash_profile.
>
>
> 2013/10/30 sekaijin <jy...@yahoo.fr>
>
>> Merci
>> Thank
>> A+JYT
>>
>>
>>
>> --
>> View this message in context:
>> http://karaf.922171.n3.nabble.com/jre-problem-with-MacOS-and-Karaf-tp4030117p4030125.html
>> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>>
>
>
>
> --
>
> Apache Karaf <http://karaf.apache.org/> Committer & PMC
> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
> Project Lead
> OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home>
> Commiter & Project Lead
> blog <http://notizblog.nierbeck.de/>
>



-- 

Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home>
Commiter & Project Lead
blog <http://notizblog.nierbeck.de/>

Re: jre problem with MacOS and Karaf

Posted by Achim Nierbeck <bc...@googlemail.com>.
Fixed this one for the shell skripts.
The Wrapper did find the configured JAVA_HOME so I'm not going to change
any of that.


2013/10/30 Jean-Baptiste Onofré <jb...@nanthrax.net>

> Hi Achim,
>
> Careful, I changed the JAVA_HOME management in wrapper on latest versions.
>
> Regards
> JB
>
>
> On 10/30/2013 09:41 PM, Achim Nierbeck wrote:
>
>> Ok, if you have the JAVA_HOME configured, the wrapper will pick it up and
>> use it in the wrapper.conf, though I'm going to change the way the
>> JAVA_HOME is found in case it's not configured in the users .bash_profile.
>>
>>
>> 2013/10/30 sekaijin <jy...@yahoo.fr>
>>
>>  Merci
>>> Thank
>>> A+JYT
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://karaf.922171.n3.nabble.**com/jre-problem-with-MacOS-**
>>> and-Karaf-tp4030117p4030125.**html<http://karaf.922171.n3.nabble.com/jre-problem-with-MacOS-and-Karaf-tp4030117p4030125.html>
>>> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>>
> --
> Jean-Baptiste Onofré
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>



-- 

Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home>
Commiter & Project Lead
blog <http://notizblog.nierbeck.de/>

Re: jre problem with MacOS and Karaf

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Achim,

Careful, I changed the JAVA_HOME management in wrapper on latest versions.

Regards
JB

On 10/30/2013 09:41 PM, Achim Nierbeck wrote:
> Ok, if you have the JAVA_HOME configured, the wrapper will pick it up and
> use it in the wrapper.conf, though I'm going to change the way the
> JAVA_HOME is found in case it's not configured in the users .bash_profile.
>
>
> 2013/10/30 sekaijin <jy...@yahoo.fr>
>
>> Merci
>> Thank
>> A+JYT
>>
>>
>>
>> --
>> View this message in context:
>> http://karaf.922171.n3.nabble.com/jre-problem-with-MacOS-and-Karaf-tp4030117p4030125.html
>> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>>
>
>
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: jre problem with MacOS and Karaf

Posted by Achim Nierbeck <bc...@googlemail.com>.
Ok, if you have the JAVA_HOME configured, the wrapper will pick it up and
use it in the wrapper.conf, though I'm going to change the way the
JAVA_HOME is found in case it's not configured in the users .bash_profile.


2013/10/30 sekaijin <jy...@yahoo.fr>

> Merci
> Thank
> A+JYT
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/jre-problem-with-MacOS-and-Karaf-tp4030117p4030125.html
> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>



-- 

Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home>
Commiter & Project Lead
blog <http://notizblog.nierbeck.de/>

Re: jre problem with MacOS and Karaf

Posted by sekaijin <jy...@yahoo.fr>.
Merci
Thank
A+JYT



--
View this message in context: http://karaf.922171.n3.nabble.com/jre-problem-with-MacOS-and-Karaf-tp4030117p4030125.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.

Re: jre problem with MacOS and Karaf

Posted by Achim Nierbeck <bc...@googlemail.com>.
I'm gonna take a look at this.

regards, Achim


2013/10/30 sekaijin <jy...@yahoo.fr>

> Hi
> I'm using karaf 2.2.2 on MacOS 10.9
>
> in karaf script to launch karaf I've seen
>
> Apple no longer distributes Java since version 10.6
> an the Oracle distribution for MacOS place java in /Library/Java/Home.
> the locateJava function does not work.
>
> Even changing this path, I'm not able to do the wrapper function.
> I to replace the line
>
> by
>
>
> in some MacOS installation I've seen 2 distribution of Java one from Apple
> other from Oracle.
>
> Bye.
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/jre-problem-with-MacOS-and-Karaf-tp4030117.html
> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>



-- 

Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home>
Commiter & Project Lead
blog <http://notizblog.nierbeck.de/>