I have java installed in a custom folder due to distriubtion reasons;

root@ubuntu64#echo $JAVA_HOME

when double checking the version:
root@ubuntu64# $JAVA_HOME/bin/java -version
java version "1.6.0_27"
Java(TM) SE Runtime Environment (build 1.6.0_27-b07)
Java HotSpot(TM) 64-Bit Server VM (build 20.2-b06, mixed mode)

however when doing a configure I get this error: ( I even exported
JAVA_HOME to /opt/jdk/ )
root@ubuntu64:/opt/resin-4.0.27# ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking if  is Java 1.6... no
configure: error: Java 1.6 required.  returned: ./configure: line
11291: -version: command not found

why is this happening?


resin-interest mailing list

Reply via email to