thanks! That seemed to do it! tom.
On Fri, Apr 13, 2012 at 12:14 PM, Alex Rojkov <[email protected]> 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 >> [email protected] >> http://maillist.caucho.com/mailman/listinfo/resin-interest > > > _______________________________________________ > resin-interest mailing list > [email protected] > http://maillist.caucho.com/mailman/listinfo/resin-interest _______________________________________________ resin-interest mailing list [email protected] http://maillist.caucho.com/mailman/listinfo/resin-interest
