Skip to main content

'ant make' mobicents/build.xml:130: Compile failed

1 reply [Last post]
khurram_bhatti
Offline
Joined: 2007-11-06

I have download mobicents from cvs checkout and when I do ' ant make' in mobicent folder it gives following error

gigli mobicents # ant make
Buildfile: build.xml

build-ant-tasks:

build-tasks:

init:

copy-jboss-config:
[echo] Preparing deployment configuration "all"

copylibs:

precompile:

javacompile:
[javac] Compiling 303 source files to /root/mobicents/classes
[javac] javac: invalid target release: 1.5
[javac] Usage: javac
[javac] where possible options include:
[javac] -g Generate all debugging info
[javac] -g:none Generate no debugging info
[javac] -g:{lines,vars,source} Generate only some debugging info
[javac] -nowarn Generate no warnings
[javac] -verbose Output messages about what the compiler is doing
[javac] -deprecation Output source locations where deprecated APIs are used
[javac] -classpath Specify where to find user class files
[javac] -sourcepath Specify where to find input source files
[javac] -bootclasspath Override location of bootstrap class files
[javac] -extdirs Override location of installed extensions
[javac] -d Specify where to place generated class files
[javac] -encoding Specify character encoding used by source files
[javac] -source Provide source compatibility with specified release
[javac] -target Generate class files for specific VM version
[javac] -help Print a synopsis of standard options

BUILD FAILED
/root/mobicents/build.xml:130: Compile failed; see the compiler error output for details.

Total time: 3 seconds

and build.xml line 130 is

Following is the java version

gigli mobicents # java -version
* java is not available for jdk1.5.0_13 on i686
* IMPORTANT: some Java tools are not available on some VMs on some architectures

What configuration I'm missing in successful mobicent installation ?

thanks!

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
eduardomartins
Offline
Joined: 2005-10-10

you need java 1.5