SciDB 15.7 installation problem with Java and Ant


#1

I am trying to build SciDB 15.7 on Centos 6.7 with OpenJDK 1.8 and am getting the following error:

[ 78%] Built target linear_algebra
[ 78%] Generating …/…/bin/jdbc/jdbctest.jar, …/…/bin/jdbc/scidb4j.jar, …/…/bin/jdbc/example.jar
Error: Could not find or load main class org.apache.tools.ant.launch.Launcher
make[2]: *** [bin/jdbc/jdbctest.jar] Error 1
make[1]: *** [src/jdbc/CMakeFiles/jdbc_build.dir/all] Error 2
make: *** [all] Error 2
run.py: ERROR: Command make failed: Abnormal return code: 2 on command [’/usr/bin/make’, ‘-j1’]

The classpath seems to be correct so I cannot figure out why it is not finding the Java class:

[root@dud scidb-15.7.0.9267]# echo $CLASSPATH
/usr/share/java:/usr/lib/jvm-exports/java-1.8.0-openjdk-1.8.0.77-0.b03.el6_7.x86_64:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.77-0.b03.el6_7.x86_64/lib

[root@dud scidb-15.7.0.9267]# ant --execdebug
exec “/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.77-0.b03.el6_7.x86_64/bin/java” -classpath “/usr/share/java/ant.jar:/usr/share/java/ant-launcher.jar:/usr/share/java/jaxp_parser_impl.jar:/usr/share/java/xml-commons-apis.jar:/usr/share/java/ant/ant-contrib.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.77-0.b03.el6_7.x86_64/lib/tools.jar:/usr/share/java:/usr/lib/jvm-exports/java-1.8.0-openjdk-1.8.0.77-0.b03.el6_7.x86_64:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.77-0.b03.el6_7.x86_64/lib” -Dant.home="/usr/share/ant" -Dant.library.dir="/usr/share/ant/lib" org.apache.tools.ant.launch.Launcher -cp “”

Any help will be greatly appreciated. Thanks in advance.

Regards,
Wadud.