Can you send you print out from env?
Also how did you install the other version of java. This is very similar 
to one machine here, I can ask the guy that installed it what he has 
done to get around it.

regards

Grant Kohler wrote:
> Well, when I run that command, only one java location shows up:
>
> There is 1 program that provides 'java'.
>
>   Selection    Command
> -----------------------------------------------
> *+ 1           /usr/lib/jvm/jre-1.4.2-gcj/bin/java
>
> Yet when I look at the $JAVA_HOME, it's pointing to the correct location.
> So it still seems that I'm having problems getting the computer to actually
> see the other java installation.  Any more suggestions?
>
> Thanks,
> -Grant
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
> Of graham
> Sent: Thursday, June 07, 2007 6:22 AM
> To: [email protected]
> Subject: Re: [Red5] IStreamableFileService
>
> Try
> alternatives -config java
>
> select the correct java and also set the ant etc in that env.
>
> regards
>
> Grant Kohler wrote:
>   
>> Tried that, got this:
>>
>> Exception in thread "main" java.lang.NoClassDefFoundError:
>> org/apache/tools/ant/launch/Launcher
>>
>> Thanks, 
>> -Grant
>>
>> -----Original Message-----
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
>> Of Rodrigo Ordonez Licona
>> Sent: Wednesday, June 06, 2007 9:00 PM
>> To: [email protected]
>> Subject: Re: [Red5] IStreamableFileService
>>
>> Try su root,  then execute without sudo
>>
>> Good Luck
>>
>> Rodrigo O
>> Xnet 
>>
>> -----Original Message-----
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
>> Of Grant Kohler
>> Sent: MiƩrcoles, 06 de Junio de 2007 06:16 p.m.
>> To: [email protected]
>> Subject: Re: [Red5] IStreamableFileService
>>
>> OK, well now when I do a java -version I get this for both root and the
>>     
> user
>   
>> I want to run red5 as:
>>
>> $ java -version
>> java version "1.6.0_01"
>> Java(TM) SE Runtime Environment (build 1.6.0_01-b06) Java HotSpot(TM)
>>     
> Client
>   
>> VM (build 1.6.0_01-b06, mixed mode, sharing)
>>
>> However, when I run sudo ant server as the user, I'm still seeing this at
>> the top:
>>
>> Buildfile: build.xml
>>      [echo] java.home is /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre and the
>> target version is 1.4
>>
>> server:
>>      [echo] java.home is /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre and the
>> target version is 1.4
>>
>> Which tells me for some reason it's still trying to run java 1.4  I even
>> went as far as to change the java.home property in build.xml to
>> /usr/local/jdk1.6.0_01 which is where java is installed but that didn't
>>     
> make
>   
>> any difference at all.  I'm completely stuck!
>>
>> Thanks,
>> -Grant
>>
>>
>> -----Original Message-----
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
>> Of Rodrigo Ordonez Licona
>> Sent: Wednesday, June 06, 2007 7:02 PM
>> To: [email protected]
>> Subject: Re: [Red5] IStreamableFileService
>>
>> If you use Redhat 
>> Do something like this before trying to run ant
>>
>> export JAVA_HOME=/usr/java/jre1.6.0_01
>> export ANT_HOME=/usr/local/ant
>> PATH=$PATH:$HOME/bin:/usr/local/ant
>> export PATH
>>
>> An change the path accordingly to your installations
>> IN our case 
>> Java is at /usr/java/jre1.6.0_01
>> Ant is at /usr/local/ant
>>
>>
>> HTH
>>
>> Rodrigo O
>> Xnet
>>
>> -----Original Message-----
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
>> Of Grant Kohler
>> Sent: MiƩrcoles, 06 de Junio de 2007 04:44 p.m.
>> To: [email protected]
>> Subject: Re: [Red5] IStreamableFileService
>>
>> Under the user account I want to run red5 as it returns this:
>> $ java -version
>> java version "1.6.0_01"
>> Java(TM) SE Runtime Environment (build 1.6.0_01-b06) Java HotSpot(TM)
>>     
> Client
>   
>> VM (build 1.6.0_01-b06, mixed mode, sharing)
>>
>> Under root, it returns this:
>> $ java -version
>> java version "1.4.2"
>> gij (GNU libgcj) version 4.1.1 20070105 (Red Hat 4.1.1-51)
>>
>> Copyright (C) 2006 Free Software Foundation, Inc.
>> This is free software; see the source for copying conditions.  There is NO
>> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
>>     
> PURPOSE.
>   
>> I'm running the ant server command as sudo, so I guess the question is how
>> do I change the root user to use the java environment located out of a
>> different location?  Is there a variable I need to change somewhere?
>>
>> Thanks,
>> -Grant
>>
>>
>> -------------------------------------
>> Grant Kohler
>> [EMAIL PROTECTED]
>> REACHMDConsult, Inc.
>> http://www.reachmdc.com/
>> (770) 853-3556
>>
>>
>> -----Original Message-----
>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
>> Of Thijs Triemstra | Collab
>> Sent: Wednesday, June 06, 2007 6:16 PM
>> To: [email protected]
>> Subject: Re: [Red5] IStreamableFileService
>>
>> what does java -version return? And what OS are you using?
>>
>> Thijs
>>
>>
>> On Jun 6, 2007, at 9:47 PM, Grant Kohler wrote:
>>
>>   
>>     
>>> Now that I look closer, it looks like it's trying to use the wrong  
>>> version
>>> of java.
>>>
>>> Buildfile: build.xml
>>>      [echo] java.home is /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre  
>>> and the
>>> target version is 1.4
>>>
>>> server:
>>>      [echo] java.home is /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre  
>>> and the
>>> target version is 1.4
>>>
>>> I've installed jdk1.6.0_01 and set my environment variable for  
>>> JAVA_HOME to
>>> point to the directory for jdk1.6.0_01, but it still doesn't seem  
>>> to be
>>> looking there for java.  Do I need to change it somewhere else too?
>>>
>>> Thanks,
>>> -Grant
>>>
>>> -----Original Message-----
>>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On  
>>> Behalf
>>> Of Thijs Triemstra | Collab
>>> Sent: Wednesday, June 06, 2007 2:57 PM
>>> To: [email protected]
>>> Subject: Re: [Red5] IStreamableFileService
>>>
>>> You should try a newer version of Red5 (v0.6.1) that supports jdk1.6
>>>
>>> Thijs
>>>
>>>
>>> Op 6-jun-2007, om 20:16 heeft Grant Kohler het volgende geschreven:
>>>
>>>     
>>>       
>>>> Hello,
>>>>
>>>>    I'm trying to setup red5 on a new server.  I'm running
>>>> jdk1.6.0_01 but when I run ant server I get the following message
>>>> and I have no idea what it means:
>>>>
>>>>
>>>>
>>>> compile:
>>>>
>>>>     [javac] Compiling 309 source files to /home/reach/red5-0_5rc1/bin
>>>>
>>>>     [javac] ----------
>>>>
>>>>     [javac] 1. ERROR in /home/reach/red5-0_5rc1/src/org/red5/io/
>>>> IStreamableFileFactory.java
>>>>
>>>>     [javac]  (at line 31)
>>>>
>>>>     [javac]     public abstract Set<IStreamableFileService>
>>>> getServices();
>>>>
>>>>     [javac]                     ^^^
>>>>
>>>>     [javac] The type Set is not generic; it cannot be parameterized
>>>> with arguments <IStreamableFileService>
>>>>
>>>>     [javac] ----------
>>>>
>>>>     [javac] 2. ERROR in /home/reach/red5-0_5rc1/src/org/red5/io/
>>>> IStreamableFileFactory.java
>>>>
>>>>     [javac]  (at line 31)
>>>>
>>>>     [javac]     public abstract Set<IStreamableFileService>
>>>> getServices();
>>>>
>>>>     [javac]                         ^^^^^^^^^^^^^^^^^^^^^^
>>>>
>>>>     [javac] Syntax error, parameterized types are only available if
>>>> source level is 5.0
>>>>
>>>>     [javac] ----------
>>>>
>>>>     [javac] 2 problems (2 errors)
>>>>
>>>>
>>>>
>>>> Is there something else I need to configure first?
>>>>
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> -Grant
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Red5 mailing list
>>>> [email protected]
>>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>>       
>>>>         
>>> _______________________________________________
>>> Red5 mailing list
>>> [email protected]
>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>
>>>
>>>
>>> _______________________________________________
>>> Red5 mailing list
>>> [email protected]
>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>     
>>>       
>> _______________________________________________
>> Red5 mailing list
>> [email protected]
>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>
>>
>>
>> _______________________________________________
>> Red5 mailing list
>> [email protected]
>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>
>>
>> _______________________________________________
>> Red5 mailing list
>> [email protected]
>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>
>>
>>
>> _______________________________________________
>> Red5 mailing list
>> [email protected]
>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>
>>
>> _______________________________________________
>> Red5 mailing list
>> [email protected]
>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>
>>
>>
>> _______________________________________________
>> Red5 mailing list
>> [email protected]
>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>   
>>     
>
>
> _______________________________________________
> Red5 mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
>
> _______________________________________________
> Red5 mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/red5_osflash.org
>   


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to