[Red5] Problem to re-compile Red5 with eclipse/ant/subclipse
Guillaume Lecanu
Guillaume at lya.fr
Tue Dec 6 04:56:18 EST 2005
Sorry, nevermind,
My JDK was buggy, I have uninstalled / reinstalled and it's works under
M$
Now, I will try to make a GenericApplication.java with all services
possible in this file to make more easy the developpement of server side
code.
Le mardi 06 décembre 2005 à 10:17 +0100, Guillaume Lecanu a écrit :
> Hi,
>
> I try since few days to recompile the project Red5.
> I have try under linux and windows, but I have a similar problem.
>
> I have installed J2SE 4.2, eclipse 3.1, the plugin subeclipse and
> after I just repeat what I see in your the video "Setting up your
> Eclipse environnement for Red5" :
> http://www.newviewnetworks.com/nvnhome/blog/client/media/checkoutproject.htm
>
> But when I click on "Run" I have this problem :
> Buildfile: C:\coding\Red5\build.xml
> [echo] java.home is C:\Sun\AppServer\jdk\jre and the target
> version is 1.4
> prepare:
> compile:
> [javac] Compiling 133 source files to C:\coding\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 build file.
> [javac] java.lang.NoClassDefFoundError: com/sun/tools/javac/Main
> [javac] Exception in thread "main"
>
> BUILD FAILED
>
>
> Under linux/debian, I have a similar error :
>
> Buildfile: /home/neokod/coding/Red5/build.xml
> [echo] java.home is /usr/lib/j2se/1.4/jre and the target version
> is 1.4
> prepare:
> compile:
> [javac] Compiling 133 source files to /home/neokod/coding/Red5/bin
> [javac] Exception in thread "main" java.lang.NoClassDefFoundError:
> com/sun/tools/javac/Main
>
> BUILD FAILED
> /home/neokod/coding/Red5/build.xml:54: Compile failed; see the
> compiler error output for details.
>
> Total time: 3 seconds
>
>
> If anybody have an idea..
> thanks a lots !
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20051206/af3d70b8/attachment-0001.htm
More information about the Red5
mailing list