• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: What does NEXT_ROOT has to do with launching a java VM??!?!?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: Bogdan Zlatanov <email@hidden>
  • Date: Thu, 28 Mar 2013 14:05:41 +0100

I think it's generally best to set JAVA_HOME=`/usr/libexec/java_home`.

Just my 2 cents

On 28 Mar 2013, at 14:02, Patrick Robinson wrote:

> 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


 _______________________________________________
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

References: 
 >What does NEXT_ROOT has to do with launching a java VM??!?!? (From: Henrique Gomes <email@hidden>)
 >Re: What does NEXT_ROOT has to do with launching a java VM??!?!? (From: Henrique Gomes <email@hidden>)
 >Re: What does NEXT_ROOT has to do with launching a java VM??!?!? (From: Pascal Robert <email@hidden>)
 >Re: What does NEXT_ROOT has to do with launching a java VM??!?!? (From: Patrick Robinson <email@hidden>)

  • Prev by Date: Re: What does NEXT_ROOT has to do with launching a java VM??!?!?
  • Next by Date: WOWODC 2013 Schedule
  • Previous by thread: Re: What does NEXT_ROOT has to do with launching a java VM??!?!?
  • Next by thread: REST Tutorial
  • Index(es):
    • Date
    • Thread