[Red5] red5 installation hurdles (java install?)
Andrew Sinning
andrew at learningware.com
Thu Oct 22 16:14:42 PDT 2009
I'm having a lot of trouble installing red5. I started with a clean
cloud server running fedora.
Then I installed java:
# yum install java-1.6.0-openjdk-plugin
This seemed to go well, but nothing after that really worked. Do I need
to install some other java components?
Thanks!
Here's what happened after I installed java:
The installation instructions say to
# export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun/
but when I tried to run
# /opt/ant/bin/ant prepare
Error: JAVA_HOME is not defined correctly.
We cannot execute /usr/lib/jvm/java-1.5.0-sun//bin/java
Upon inspection I determined that my install has put java in
/usr/lib/jvm/jre/bin, so in order to get "prepare" to run, I used
# export JAVA_HOME=/usr/lib/jvm/jre/
which then gives me
# /opt/ant/bin/ant prepare
Unable to locate tools.jar. Expected to find it in
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/lib/tools.jar
Buildfile: build.xml
[echo] java.home is
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre and the target
version is 1.6
prepare:
[mkdir] Created dir: /root/red5/bin
[mkdir] Created dir: /root/red5/dist
[mkdir] Created dir: /root/red5/bin/testcases
[mkdir] Created dir: /root/red5/bin/testcases/testreports
BUILD SUCCESSFUL
So, supposedly, I have "BUILD SUCCESSFUL", but I don't think so, because
next when I try:
# /opt/ant/bin/ant dist
Unable to locate tools.jar. Expected to find it in
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/lib/tools.jar
.....
.....
BUILD FAILED
/root/red5/build.xml:146: The following error occurred while
executing this line:
/root/red5/build.xml:160: The following error occurred while
executing this line:
/root/red5/build.xml:115: impossible to resolve dependencies:
resolve failed - see output for details
More information about the Red5
mailing list