If you don't explicitly need java 1.6 try to compile
it with java 1.5.
You will need to install java 1.5  and run

#ant -Djava.target_version=1.5


--- [EMAIL PROTECTED] wrote:

> Hi,
> 
> when I want to compile
> 
> 
> [EMAIL PROTECTED] red5-0.6rc2]# ant
> Exception in thread "main"
> java.lang.NoClassDefFoundError: 
> org/apache/tools/ant/launch/Launcher
> 
> 
> 
> I have tried all the possible solutions that i found
> on Google, but I have 
> the same error.
> I am trying to install red5-0.6rc2 in a Fedora Core
> 5
> I have installed java sdk 1.6.0
> 
> 
> 
> [EMAIL PROTECTED] red5-0.6rc2]# java -version
> java version "1.6.0"
> Java(TM) SE Runtime Environment (build 1.6.0-b105)
> Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed
> mode, sharing)
> 
> 
> 
> I installed ant ok
> I think that my problem is on system variables¡, but
> I'm not sure
> this is what I have
> 
> 
> 
> [EMAIL PROTECTED] red5-0.6rc2]# echo $JAVA_HOME
> /usr/java/jdk1.6.0/
> [EMAIL PROTECTED] red5-0.6rc2]# echo $ANT_HOME
> /usr/local/ant/bin
> [EMAIL PROTECTED] red5-0.6rc2]# echo $CLASSPATH
>
:/usr/share/java/xerces.jar:/usr/share/java/xercesSamples.jar
> 
> 
> 
> What could be the problem?
> Thanks in advance
> 
>     Federico
> 
> 
>       
> 
>       
>               
> __________________________________________________ 
> Preguntá. Respondé. Descubrí. 
> Todo lo que querías saber, y lo que ni imaginabas, 
> está en Yahoo! Respuestas (Beta). 
> ¡Probalo ya! 
> http://www.yahoo.com.ar/respuestas 
> 
> 
> 
> _______________________________________________
> Red5 mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/red5_osflash.org
> 



 
____________________________________________________________________________________
Finding fabulous fares is fun.  
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel 
bargains.
http://farechase.yahoo.com/promo-generic-14795097

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

Reply via email to