if you have the 1.5 jdk installed, and change the java.target_version as outline earlier, that shd compile successfully; the default compiles to 1.6;
imho, this shd be the other way around, especially since you can't even find 1.6 on the mac yet. cheers, -- eokyere On 2/13/07, morten hundevad <[EMAIL PROTECTED]> wrote: > Ok i am confused now, so i should install java 1.5 again insted of just > using newer 1.6? > > I thought this was a setup issue with build.properties (is what I ment by > saying "build variable"), > I guess I am wrong. > > However I am quite sure the build.properties is not setup correctly since > not all of the properties are defined. I could figure out some of the > propertied, but other than that I am sure there's still some missing. But I > dont know what to fill in them since the one matching on the build.xml from > 0.5 dont appear to have the same stuff in it. > > _____________ > Morten > > > >From: "Emmanuel Okyere" <[EMAIL PROTECTED]> > >Reply-To: [email protected] > >To: [email protected] > >Subject: Re: [Red5] build.xml setup problems > >Date: Tue, 13 Feb 2007 10:20:31 +0000 > > > >there's a way to target 1.5, per this link > >http://osflash.org/pipermail/red5_osflash.org/2007-January/008516.html > > > >no need to edit your build file though; just add configure the > >property on the cmd line as: > > > >ant -Djava.target_version=1.5 > > > >cheers, > >-- eokyere > > > >On 2/13/07, Emmanuel Okyere <[EMAIL PROTECTED]> wrote: > > > it is due to a generally bad idea by the proj commiters to force > > > default compile environment to a bleeeeding edge jdk > > > > > > -- eokyere > > > > > > On 2/13/07, morten hundevad <[EMAIL PROTECTED]> wrote: > > > > Hi all > > > > After upgreating from 0.5 to 0.6rc2 > > > > > > > > i am now unable to build uding "ant server" command > > > > > > > > > >--------------------------------------------------------------------------------------------------------------------------------- > > > > C:\Programmer\Red5>ant server > > > > Unable to locate tools.jar. Expected to find it in > > > > C:\Programmer\Java\jre1.6.0\lib\tools.jar > > > > Buildfile: build.xml > > > > [echo] java.home is C:\Programmer\Java\jre1.6.0 and the target > >version > > > > is 1.6 > > > > > > > > server: > > > > [echo] java.home is C:\Programmer\Java\jre1.6.0 and the target > >version > > > > is 1.6 > > > > > > > > -java6.check: > > > > > > > > -junit.check: > > > > > > > > prepare: > > > > > > > > compile: > > > > [echo] Javac version: 1.6 > > > > [echo] Compiler adapter name: modern > > > > [echo] java.home is C:\Programmer\Java\jre1.6.0 and the target > >version > > > > is 1.6 > > > > > > > > compile_core: > > > > [javac] Compiling 364 source files to C:\Programmer\Red5\bin > > > > > > > > BUILD FAILED > > > > C:\Programmer\Red5\build.xml:755: The following error occurred while > > > > executing this line: > > > > C:\Programmer\Red5\build.xml:156: The following error occurred while > > > > executing this line: > > > > C:\Programmer\Red5\build.xml:287: Error running javac.exe compiler > > > > > > > > Total time: 1 second > > > > C:\Programmer\Red5> > > > > > >--------------------------------------------------------------------------------------------------------------------------------- > > > > > > > > i think it is a problem seting up the build variable ? can anyone give > >me a > > > > working eksamble ? or maby just inform me where to find this info ? > > > > > > > > Morten > > > > > > > > _________________________________________________________________ > > > > Opret en personlig blog og del dine billeder på MSN Spaces: > > > > http://spaces.msn.com/ > > > > > > > > > > > > > > > > _______________________________________________ > > > > Red5 mailing list > > > > [email protected] > > > > http://osflash.org/mailman/listinfo/red5_osflash.org > > > > > > > > > > > > > > > > > -- > > > blog -- http://eokyere.blogspot.com > > > RIFE Framework -- http://rifers.org > > > RIFE Training -- http://rifers.org/training > > > > > > Mohandas Gandhi - "You must be the change you wish to see in the world." > > > > > > > > >-- > >blog -- http://eokyere.blogspot.com > >RIFE Framework -- http://rifers.org > >RIFE Training -- http://rifers.org/training > > > >Mohandas Gandhi - "You must be the change you wish to see in the world." > > > >_______________________________________________ > >Red5 mailing list > >[email protected] > >http://osflash.org/mailman/listinfo/red5_osflash.org > > _________________________________________________________________ > Vælg selv hvordan du vil kommunikere - skrift, tale, video eller billeder > med MSN Messenger: http://messenger.msn.dk/ - her kan du det hele > > > > _______________________________________________ > Red5 mailing list > [email protected] > http://osflash.org/mailman/listinfo/red5_osflash.org > > -- blog -- http://eokyere.blogspot.com RIFE Framework -- http://rifers.org RIFE Training -- http://rifers.org/training Mohandas Gandhi - "You must be the change you wish to see in the world." _______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
