On Sep 09, 2009, at 18:40 , Fabian Groffen wrote:
On 09-09-2009 18:22:16 +0200, Ying Zhang wrote:
Hi all,
I logged in on another INS1 desktop 'vili', and try to install monetdb there with
$monetdb-install.sh --enable-xquery --enable-optimize -- nightly=stable --prefix="/export/scratch0/zhang/MonetDB"
and it ends in:
BUILD FAILED /var/tmp/MonetDB-1252495100/MonetDB-java/java/build.xml:94: The following error occurred while executing this line: /var/tmp/MonetDB-1252495100/MonetDB-java/java/build.xml:289: 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. It is currently set to "/usr/lib/jvm/java-1.6.0- openjdk-1.6.0.0.x86_64/ jre"
it points to the JRE (Java Runtime Environment), not the JDK (Java Development Kit) or SDK.
Manually setting JAVA_HOME to my own java installation ends in the same error: $env JAVA_HOME=/ufs/zhang/install/java/current monetdb-install.sh -- enable-xquery --enable-optimize --nightly=stable --prefix="/export/ scratch0/zhang/MonetDB"
The log is attached. Thanks in advance.
is this log from that run, or your first?
Sorry, my text was unclear. To be sure, I have started a fresh install (just logout and log into 'vili' again) with $monetdb-install.sh --enable-xquery --enable-optimize --nightly=stable --prefix="/export/scratch0/zhang/MonetDB" its log is attached. I'm a bit surprised by the message that JAVA_HOME "is currently set to "/usr/lib/jvm/java-1.6.0- openjdk-1.6.0.0.x86_64/jre", because I always set JAVA_HOME to point to my own java installation: $ grep JAVA_HOME ~/.bashrc export JAVA_HOME=$HOME/install/java/current PATH=$JAVA_HOME/bin:$PATH $ echo $JAVA_HOME /ufs/zhang/install/java/current Thanks a lot. Jennie
------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users