[Resin-interest] cannot ./configure resin - says java not installed, - it is installed and JAVA_HOME is set correctly..
help? I have java installed in a custom folder due to distriubtion reasons; root@ubuntu64#echo $JAVA_HOME /opt/jdk/ 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? tia! ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] cannot ./configure resin - says java not installed, - it is installed and JAVA_HOME is set correctly..
help? I have java installed in a custom folder due to distriubtion reasons; Hi Tom, Can you add /opt/jdk/bin to the PATH and try again. ./configure in 4.0.27 does 'which java' to find java executable. I added a fallback to JAVA_HOME/bin/java for 4.0.28 and up. Thanks, Alex root@ubuntu64#echo $JAVA_HOME /opt/jdk/ 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? tia! ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] cannot ./configure resin - says java not installed, - it is installed and JAVA_HOME is set correctly..
thanks! That seemed to do it! tom. On Fri, Apr 13, 2012 at 12:14 PM, Alex Rojkov a...@caucho.com wrote: help? I have java installed in a custom folder due to distriubtion reasons; Hi Tom, Can you add /opt/jdk/bin to the PATH and try again. ./configure in 4.0.27 does 'which java' to find java executable. I added a fallback to JAVA_HOME/bin/java for 4.0.28 and up. Thanks, Alex root@ubuntu64#echo $JAVA_HOME /opt/jdk/ 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? tia! ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
Re: [Resin-interest] cannot ./configure resin - says java not installed, - it is installed and JAVA_HOME is set correctly..
.. or you can use the --with-java-home option for configure. Eg something like this: ./configure --with-java-home=/opt/jdk/ Run ./configure --help to see all options available.. Regards, Jens Dueholm Christensen -Original Message- From: resin-interest-boun...@caucho.com [mailto:resin-interest-boun...@caucho.com] On Behalf Of Alex Rojkov Sent: Friday, April 13, 2012 6:15 PM To: General Discussion for the Resin application server Subject: Re: [Resin-interest] cannot ./configure resin - says java not installed, - it is installed and JAVA_HOME is set correctly.. help? I have java installed in a custom folder due to distriubtion reasons; Hi Tom, Can you add /opt/jdk/bin to the PATH and try again. ./configure in 4.0.27 does 'which java' to find java executable. I added a fallback to JAVA_HOME/bin/java for 4.0.28 and up. Thanks, Alex root@ubuntu64#echo $JAVA_HOME /opt/jdk/ 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? tia! ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest