Results 1 to 3 of 3
I am having a problem getting red5 media server to install.
Here is the error I am getting.
Code:
Buildfile: build.xml
init:
prepare:
compile-core:
[javac] Compiling 370 source files to ...
- 02-07-2011 #1Just Joined!
- Join Date
- Apr 2009
- Posts
- 15
java classpath issue
I am having a problem getting red5 media server to install.
Here is the error I am getting.
I don't understand exactly what needs to be set with the classpath and hep would be greatly appreciated.Code:Buildfile: build.xml init: prepare: compile-core: [javac] Compiling 370 source files to /home/red5/ivy/build/classes/core BUILD FAILED /home/red5/ivy/build xml 194 Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath Perhaps JAVA_HOME does not point to the JDK
- 02-07-2011 #2Just Joined!
- Join Date
- Apr 2009
- Posts
- 15
Well I got the classpath set but it still wont compile so maybe I still don't have it set quite right here is the error I get now
Code:Buildfile: build.xml init: prepare: compile-core: compile-bootstrap: [javac] Compiling 44 source files to /home/red5/ivy/build/classes/bootstrap [javac] /home/red5/ivy/src/java/org/apache/ivy/ant/IvyResources.java:30: cannot find symbol [javac] symbol : class ResourceCollection [javac] location: package org.apache.tools.ant.types [javac] import org.apache.tools.ant.types.ResourceCollection; [javac] ^ [javac] /home/red5/ivy/src/java/org/apache/ivy/ant/IvyResources.java:31: package org.apache.tools.ant.types.resources does not exist [javac] import org.apache.tools.ant.types.resources.BaseResourceCollectionWrapper; [javac] ^ [javac] /home/red5/ivy/src/java/org/apache/ivy/ant/IvyResources.java:32: package org.apache.tools.ant.types.resources does not exist [javac] import org.apache.tools.ant.types.resources.FileResource; [javac] ^ [javac] /home/red5/ivy/src/java/org/apache/ivy/ant/IvyResources.java:34: cannot find symbol [javac] symbol: class ResourceCollection [javac] public class IvyResources extends IvyCacheTask implements ResourceCollection { [javac] ^ [javac] /home/red5/ivy/src/java/org/apache/ivy/ant/IvyResources.java:39: cannot find symbol [javac] symbol : class BaseResourceCollectionWrapper [javac] location: class org.apache.ivy.ant.IvyResources [javac] private class IvyBaseResourceCollectionWrapper extends BaseResourceCollectionWrapper { [javac] ^ [javac] /home/red5/ivy/src/java/org/apache/ivy/ant/IvyResources.java:53: cannot find symbol [javac] symbol : method setLocation(org.apache.tools.ant.Location) [javac] location: class org.apache.ivy.ant.IvyResources.IvyBaseResourceCollectionWrapper [javac] wrapper.setLocation(location); [javac] ^ [javac] /home/red5/ivy/src/java/org/apache/ivy/ant/IvyResources.java:58: cannot find symbol [javac] symbol : method setProject(org.apache.tools.ant.Project) [javac] location: class org.apache.ivy.ant.IvyResources.IvyBaseResourceCollectionWrapper [javac] wrapper.setProject(project); [javac] ^ [javac] /home/red5/ivy/src/java/org/apache/ivy/ant/IvyResources.java:63: cannot find symbol [javac] symbol : method setDescription(java.lang.String) [javac] location: class org.apache.ivy.ant.IvyResources.IvyBaseResourceCollectionWrapper [javac] wrapper.setDescription(desc); [javac] ^ [javac] /home/red5/ivy/src/java/org/apache/ivy/ant/IvyResources.java:69: cannot find symbol [javac] symbol : method setRefid(org.apache.tools.ant.types.Reference) [javac] location: class org.apache.ivy.ant.IvyResources.IvyBaseResourceCollectionWrapper [javac] wrapper.setRefid(ref); [javac] ^ [javac] /home/red5/ivy/src/java/org/apache/ivy/ant/IvyResources.java:75: cannot find symbol [javac] symbol : method setCache(boolean) [javac] location: class org.apache.ivy.ant.IvyResources.IvyBaseResourceCollectionWrapper [javac] wrapper.setCache(b); [javac] ^ [javac] /home/red5/ivy/src/java/org/apache/ivy/ant/IvyResources.java:85: cannot find symbol [javac] symbol : method iterator() [javac] location: class org.apache.ivy.ant.IvyResources.IvyBaseResourceCollectionWrapper [javac] return wrapper.iterator(); [javac] ^ [javac] /home/red5/ivy/src/java/org/apache/ivy/ant/IvyResources.java:89: cannot find symbol [javac] symbol : method size() [javac] location: class org.apache.ivy.ant.IvyResources.IvyBaseResourceCollectionWrapper [javac] return wrapper.size(); [javac] ^ [javac] /home/red5/ivy/src/java/org/apache/ivy/ant/IvyResources.java:103: cannot find symbol [javac] symbol : class FileResource [javac] location: class org.apache.ivy.ant.IvyResources [javac] resources.add(new FileResource(a.getLocalFile())); [javac] ^ [javac] 13 errors BUILD FAILED /home/red5/ivy/build.xml:230: Compile failed; see the compiler error output for details.
- 02-07-2011 #3
how did you install ant? also what version of java do you have installed?


Reply With Quote