[Red5devs] red5.sh broken if you don't install in /opt/red5

Art Clarke aclarke at vlideshow.com
Fri Aug 22 12:50:05 PDT 2008


Oh, and:

ls -l `which java`

Thanks,

- Art

On Fri, Aug 22, 2008 at 12:48 PM, Art Clarke <aclarke at vlideshow.com> wrote:

> Dan, are you based in the US, and if so can we chat by phone?  I think
> we'll resolve this with a lot less back-and-forth that way.  My number is
> 415-378-4554 (San Francisco) if you can do that.
>
> If not, one other question.  What command did you run (exact syntax from
> the prompt) to get the 1.5 jre, and what path were you in.
>
> Put another way, send me the output from a shell of:
> uname -a
> pwd
> which java
> java -version
>
> Thanks,
>
> - Art
>
>
>
> On Fri, Aug 22, 2008 at 12:40 PM, Daniel Rossi <spam at electroteque.org>wrote:
>
>> Correction, even though i have 1.6 selected
>>
>> java version "1.5.0_13"
>> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-
>> b05-237)
>> Java HotSpot(TM) Client VM (build 1.5.0_13-119, mixed mode, sharing)
>> iElectro:~ danielr$
>>
>> iElectro:~ danielr$ echo $JAVA_HOME
>> /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home
>> iElectro:~ danielr$
>>
>> If i do the symlink it breaks some java apps like eclipse, no idea why.
>>
>> The better option would be to have it in the search path.
>>
>> On 23/08/2008, at 4:50 AM, Daniel Rossi wrote:
>>
>> >
>> > On 23/08/2008, at 4:28 AM, Robert Harris wrote:
>> >
>> >> On Aug 20, 2008, at 8:10 AM, Art Clarke wrote:
>> >>
>> >>> interestingly I think we run red5 on a mac out of the box without
>> >>> any edits/changes to the scripts and it gets the value of
>> >>> red5.root.  Robert, what JVM version are you running?
>> >>
>> >> i run red5 under java 1.6 on mac os 10.5.4 with JAVA_HOME=/Library/
>> >> Java/Home. i regularly switch between java 1.5 and 1.6 to support
>> >> various projects.  to ensure complete jdk and jvm version correctness
>> >> i do two things:
>> >>
>> >> 1. i use:
>> >>
>> >>    /Applications/Utilities/Java/Java\ Preferences.app/
>> >>
>> >> which is a nice little gui to configure the jvm.  i'm pretty sure
>> >> that it comes stock with os x.
>> >>
>> >> 2. i've written a little script to remap the a specific jdk, the guts
>> >> of which is something like this:
>> >>
>> >>   sudo ln -s /System/Library/Frameworks/JavaVM.framework/Versions/
>> >> 1.6 /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK
>> >>
>> >> i've appended the full script to the end of this message.  if
>> >> anybody knows of a more standard way to do this i'm all ears. :)
>> >
>> >
>> > Yep i have 1.6 set in the preferences, doing manual symlinks to 1.6
>> > seems to break eclipse, so it wont load / run.
>> >
>> > _______________________________________________
>> > Red5devs mailing list
>> > Red5devs at osflash.org
>> > http://osflash.org/mailman/listinfo/red5devs_osflash.org
>>
>>
>> _______________________________________________
>> Red5devs mailing list
>> Red5devs at osflash.org
>> http://osflash.org/mailman/listinfo/red5devs_osflash.org
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5devs_osflash.org/attachments/20080822/19eed34b/attachment-0001.html 


More information about the Red5devs mailing list