[Red5devs] [Red5] Ant failures
Simon de Haan
simon at eight.nl
Thu Feb 2 09:24:11 EST 2006
Hi Flávio
I'm sorry this wasn't the problem, your question has already been
answers on de Red5 mailing list,
You are using the JRE (runtime environment) instead of the JDK
(development kit), you need to point to the JDK instead of the JRE
because the JDK has the compiler.
Try continuing this conversation on Red5 and not on Red5devs, this
mailling list is for the developers of Red5, right now its crossposted.
gr. smn
Flávio Lúcio Pereira wrote:
>Thankz for the answer Simon... but.. The error still continues..........
>
>What Can I do now?
>
>Thankz..
>
>Flávio
>
>C:\Arquivos de programas\Apache Software Foundation\Tomcat 5.5\webapps\Red5>ant
>Buildfile: build.xml
> [echo] java.home is C:\j2sdk1.4.2_10\jre and the target version is 1.4
>
>clean:
> [delete] Deleting directory C:\Arquivos de programas\Apache Software Foundat
>on\Tomcat 5.5\webapps\Red5\bin
>
>prepare:
> [mkdir] Created dir: C:\Arquivos de programas\Apache Software Foundation\To
>cat 5.5\webapps\Red5\bin
>
>compile:
> [javac] Compiling 119 source files to C:\Arquivos de programas\Apache Softw
>re Foundation\Tomcat 5.5\webapps\Red5\bin
>
>BUILD FAILED
>C:\Arquivos de programas\Apache Software Foundation\Tomcat 5.5\webapps\Red5\bui
>d.xml:54: Error running C:\j2sdk1.4.2_10\jre\bin\javac compiler
>
>Total time: 1 second
>C:\Arquivos de programas\Apache Software Foundation\Tomcat 5.5\webapps\Red5>
>
>
>
>
>
>
>
>2006/2/2, Flávio Lúcio Pereira <flaviopereira268 at gmail.com>:
>
>
>>Thankz for the answer Simon... but.. The error still continues..........
>>
>>What Can I do now?
>>
>>Thankz..
>>
>>Flávio
>>
>>C:\Arquivos de programas\Apache Software Foundation\Tomcat 5.5\webapps\Red5>ant
>>Buildfile: build.xml
>> [echo] java.home is C:\j2sdk1.4.2_10\jre and the target version is 1.4
>>
>>clean:
>> [delete] Deleting directory C:\Arquivos de programas\Apache Software Foundat
>>on\Tomcat 5.5\webapps\Red5\bin
>>
>>prepare:
>> [mkdir] Created dir: C:\Arquivos de programas\Apache Software Foundation\To
>>cat 5.5\webapps\Red5\bin
>>
>>compile:
>> [javac] Compiling 119 source files to C:\Arquivos de programas\Apache Softw
>>re Foundation\Tomcat 5.5\webapps\Red5\bin
>>
>>BUILD FAILED
>>C:\Arquivos de programas\Apache Software Foundation\Tomcat 5.5\webapps\Red5\bui
>>d.xml:54: Error running C:\j2sdk1.4.2_10\jre\bin\javac compiler
>>
>>Total time: 1 second
>>C:\Arquivos de programas\Apache Software Foundation\Tomcat 5.5\webapps\Red5>
>>
>>2006/2/2, Simon de Haan <simon at eight.nl>:
>>
>>
>>>Hi Flávio
>>>
>>>I suspect it is because you are using JDK1.5 to compile Red5, if i'm
>>>correct Red5 is coded for JDK1.4, try switching your JDK.
>>>
>>>
>>>Good luck, smn
>>>
>>>
>>>Flávio Lúcio Pereira wrote:
>>>
>>>
>>>
>>>>Hello!
>>>>
>>>>my Ant failures too.... What Can I do ?
>>>>
>>>>Appears the follow message When I try to execute Ant....
>>>>
>>>>Plase, anybody help me?
>>>>
>>>>Thankz!
>>>>
>>>>prepare:
>>>> [mkdir] Created dir: C:\Arquivos de programas\Apache Software Foundation\Tom
>>>>cat 5.5\webapps\Red5\bin
>>>>
>>>>compile:
>>>> [javac] Compiling 119 source files to C:\Arquivos de programas\Apache Softwa
>>>>re Foundation\Tomcat 5.5\webapps\Red5\bin
>>>>
>>>> [javac] WARNING
>>>>
>>>> [javac] The -source switch defaults to 1.5 in JDK 1.5.
>>>> [javac] If you specify -target 1.4 you now must also specify -source 1.4.
>>>> [javac] Ant will implicitly add -source 1.4 for you. Please change your bui
>>>>ld file.
>>>>
>>>>BUILD FAILED
>>>>C:\Arquivos de programas\Apache Software Foundation\Tomcat 5.5\webapps\Red5\buil
>>>>d.xml:54: Error running C:\Arquivos de programas\Java\jdk1.5.0_04\jre\bin\javac
>>>>compiler
>>>>
>>>>Total time: 3 seconds
>>>>
>>>>
>>>>
>>>>
>>>>2006/2/2, Rowan Kerr <rowan at stasis.org>:
>>>>
>>>>
>>>>
>>>>
>>>>>On 1-Feb-06, at 6:01 PM, Chris Allen wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>Yep, basically JAVA_HOME should be /opt/jdk1.5.0_06/ not
>>>>>>/opt/jdk1.5.0_06/jre.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>On 2/1/06, Rowan Kerr <rowan at stasis.org> wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>$ export JAVA_HOME=/opt/jdk1.5.0_06
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>Ant is adding the "jre" part on Linux and Windows.
>>>>>
>>>>>
>>>>>_______________________________________________
>>>>>Red5 mailing list
>>>>>Red5 at osflash.org
>>>>>http://osflash.org/mailman/listinfo/red5_osflash.org
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>_______________________________________________
>>>>Red5devs mailing list
>>>>Red5devs at osflash.org
>>>>http://osflash.org/mailman/listinfo/red5devs_osflash.org
>>>>
>>>>
>>>>
>>>>
>>>>
>
>
>
More information about the Red5devs
mailing list