I tried to configure the red5 in a vps. downloaded and install the latest jdk and ant
yum install subversion
svn co
http://red5.googlecode.com/svn/java/server/trunk red5-trunk
and the ant prepare build was successful. but when i try ant dist i am getting this error.
BUILD FAILED
/root/red5-trunk/build.xml:230: The following error occurred while executing this line:
/root/red5-trunk/build.xml:251: Error running /usr/java/jdk1.6.0_21/bin/javac compiler
and also at the top there was a message saying
Buildfile: /root/red5-trunk/build.xml
[property] java.io.IOException: Cannot run program "/bin/env": java.io.IOException: error=12, Cannot allocate memory
this is my free -m output
total used free shared buffers cached
Mem: 373 53 319 0 0 0
-/+ buffers/cache: 53 319
Swap: 0 0 0
how to fix the error?? is this related to any java version conflict?? there was a default java openjdk was in my system[/usr/lib],but i set the java home to /usr/java/jdk-version..
thanks in advance