I normally just use,

ant -Djava.target_version=1.6 server

On 4/12/07, Nathan P. Johansen <[EMAIL PROTECTED]> wrote:

Hi Mateus,

I'd suggest changing your Environment Variables (this is under your
Control Panel -> System -> Advanced Tab) for JAVA_HOME to remove the
spaces in the path.  For example:

        Variable Name:  JAVA_HOME
        Variable Value: C:\progra~1\Java\jdk1.6.0_01

Your system's language is different, so perhaps it is something like:

        C:\arquiv~1\Java\jdk1.6.0_01

Next, set your JAVA_VERSION environment variable to "1.6" - save that,
open up a new command line window, and give it another try.

I've noticed that when compiling under windows, it doesn't handle the
blank spaces in the path to Java, so just remove them by using the eight
dot three (8.3) style of syntax instead.  Also notice that you're pointing
to the "jre" folder - ANT needs the JDK version to compile.


Nathan


On Thu, 12 Apr 2007, Mateus Reis wrote:

> Help me please.. :D

I'm using: Ant 1.6 & jdk1.6.0_01 & red5-0.6rc3:

H:\Red5>ant server
Buildfile: build.xml
     [echo] java.home is C:\Arquivos de programas\Java\jdk1.6.0_01\jre and
the target version is 1.6

- clip -



_______________________________________________
Red5 mailing list
[EMAIL PROTECTED]
http://osflash.org/mailman/listinfo/red5_osflash.org




--
C is forever.
_______________________________________________
Red5 mailing list
[EMAIL PROTECTED]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to