Friday, June 10, 2011

Compile Red5 on Eclipse

When I tried to compile red5 at Eclipse from the source checked out from the svn, I got the compile error.

BUILD FAILED
C:\opt\workspace\red5_server\build.xml:225: The following error occurred while executing this line:
C:\opt\workspace\red5_server\build.xml:246: Error running javac.exe compiler

To fix this issue, I changed following two. First, change the JRE System Library to jdk. And Second change the ant's JRE to jdk.

To do first, right click the "JRE System Library", and select "Properties". Then you can see the image shown below. Select "Alternate JRE" and select the jdk.


Next, select build.xml, right click it, select "Run As" -> "Ant Build...". Then you can see the following image shown below. Select "JRE" tab, and select "Separate JRE" and chose jdk.

No comments:

Post a Comment