Sorry I didn't see the ant thing the first time. Did you try: "JDK6 is default, but JDK5 is easily enabled via your build.properties if your building with ant. Look for this line: # Change this var to build to a different Java version java.target_version=1.6"
Thijs Op 16-mrt-2007, om 20:05 heeft Thijs Triemstra | Collab het volgende geschreven: > Did you give it a try with Java 1.5 instead? > > Thijs > > > Op 16-mrt-2007, om 18:06 heeft <[EMAIL PROTECTED]> het > volgende geschreven: > >> Hi again >> My mistake >> I hadnt the ANT_HOME var defined >> now i define it, but still the same error >> >> Exception in thread "main" java.lang.NoClassDefFoundError: >> org/apache/tools/ant/launch/Launcher >> >> any idea? >> thanks >> >> ----- Original Message ----- >> From: <[EMAIL PROTECTED]> >> To: <[email protected]> >> Sent: Friday, March 16, 2007 1:26 PM >> Subject: Re: [Red5] Installing Red5 >> >> >> hi dabi du >> >> Thanks for your help >> >> I execute it, and i have the following error. >> >> Any suggestion? >> >> regards >> >> >> [EMAIL PROTECTED] red5-0.6rc2]# ant -Djava.target_version=1.5 >> Buildfile: build.xml >> >> BUILD FAILED >> java.lang.AbstractMethodError: >> javax.xml.parsers.SAXParser.getXMLReader()Lorg/xml/sax/XMLReader; >> at >> org.apache.tools.ant.util.JAXPUtils.getNamespaceXMLReader >> (JAXPUtils.java:163) >> at >> org.apache.tools.ant.helper.ProjectHelper2.parse >> (ProjectHelper2.java:193) >> at >> org.apache.tools.ant.helper.ProjectHelper2.parse >> (ProjectHelper2.java:140) >> at >> org.apache.tools.ant.ProjectHelper.configureProject >> (ProjectHelper.java:91) >> at org.apache.tools.ant.Main.runBuild(Main.java:653) >> at org.apache.tools.ant.Main.startAnt(Main.java:187) >> at org.apache.tools.ant.launch.Launcher.run(Launcher.java: >> 246) >> at org.apache.tools.ant.launch.Launcher.main(Launcher.java: >> 67) >> >> Total time: 0 seconds >> java.lang.AbstractMethodError: >> javax.xml.parsers.SAXParser.getXMLReader()Lorg/xml/sax/XMLReader; >> at >> org.apache.tools.ant.util.JAXPUtils.getNamespaceXMLReader >> (JAXPUtils.java:163) >> at >> org.apache.tools.ant.helper.ProjectHelper2.parse >> (ProjectHelper2.java:193) >> at >> org.apache.tools.ant.helper.ProjectHelper2.parse >> (ProjectHelper2.java:140) >> at >> org.apache.tools.ant.ProjectHelper.configureProject >> (ProjectHelper.java:91) >> at org.apache.tools.ant.Main.runBuild(Main.java:653) >> at org.apache.tools.ant.Main.startAnt(Main.java:187) >> at org.apache.tools.ant.launch.Launcher.run(Launcher.java: >> 246) >> at org.apache.tools.ant.launch.Launcher.main(Launcher.java: >> 67) >> javax.xml.parsers.SAXParser.getXMLReader()Lorg/xml/sax/XMLReader; >> [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) >> >> >> >> ----- Original Message ----- >> From: "dabi du" <[EMAIL PROTECTED]> >> To: <[email protected]> >> Sent: Friday, March 16, 2007 5:10 AM >> Subject: Re: [Red5] Installing Red5 >> >> >> >> 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 >> >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.446 / Virus Database: 268.18.11/723 - Release Date: >> 15/03/2007 >> 11:27 a.m. >> >> >> >> >> >> >> >> __________________________________________________ >> 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 >> >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.5.446 / Virus Database: 268.18.11/723 - Release Date: >> 15/03/2007 >> 11:27 a.m. >> >> >> >> >> >> >> >> __________________________________________________ >> 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 > > > _______________________________________________ > 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
