Re: What does NEXT_ROOT has to do with launching a java VM??!?!?
Re: What does NEXT_ROOT has to do with launching a java VM??!?!?
- Subject: Re: What does NEXT_ROOT has to do with launching a java VM??!?!?
- From: Patrick Robinson <email@hidden>
- Date: Thu, 28 Mar 2013 09:02:37 -0400
On 10.6.8 at least, with java 1.6, if you set NEXT_ROOT (which I do, since I still have both WO 5.3.3 and 5.4.2 installed down under /Developer/WebObjects/Versions), then you also need to set JAVA_HOME, which for the normal Apple-provided java should be /Library/Java/Home.
- Patrick
On Mar 27, 2013, at 1:30 PM, Pascal Robert wrote:
> Looks like it's a OS X problem, because it doesn't happen on Linux:
>
> [probert@wocommunity home]$ export NEXT_ROOT=/opt/apple/
>
> [probert@wocommunity home]$ java -version
> java version "1.6.0_30"
> Java(TM) SE Runtime Environment (build 1.6.0_30-b12)
> Java HotSpot(TM) 64-Bit Server VM (build 20.5-b03, mixed mode)
>
>>
>
>> Oh, I guess setting NEXT_ROOT will prevent /System/Library/Frameworks/JavaVM.framework from being found?
>>
>>
>>
>> On Mar 27, 2013, at 12:09 PM, Henrique Gomes <email@hidden> wrote:
>>
>>>
>>> Can any one explain this?
>>>
>>> bash-3.2# java -version
>>> java version "1.7.0_17"
>>> Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
>>> Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)
>>>
>>> bash-3.2# export NEXT_ROOT=/opt/apple/
>>>
>>> bash-3.2# java -version
>>> Unable to locate a Java Runtime to invoke.
>>>
>>>
>>> Why would setting NEXT_ROOT stop java from even launching?
>>>
>>> Henrique Gomes
>>>
>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden