Click to See Complete Forum and Search --> : envriment variable trouble w/resin install


RedHat123
02-20-2004, 09:33 PM
been a while since ive installed resin. ive got the java jdk 1.4 installed

now for resin 3.0 it needs a valid JAVA_HOME entry. i added the path to my /etc/profile
like so

#add JAVA_HOME
JAVA_HOME=/usr/local/j2sdk1.4.2_03

after logging out/in
i did echo $JAVA_HOME

there it be!

now why does resin complain when i do a ./configure ?

after looking like it was almost done...
it says :
checking for JAVA_HOME...

configure: error: Can't find valid JAVA_HOME



what gives ?



:confused:

mdwatts
02-21-2004, 12:19 PM
Did you export the variable?

#add JAVA_HOME
JAVA_HOME=/usr/local/j2sdk1.4.2_03

export JAVA_HOME

May help.

RedHat123
02-21-2004, 04:08 PM
duh

thank you, it workee now