cfleck
tired
i have an app i'm trying to install and it looks for my java install in places i dont have it. i'm trying to edit the script to set my java path manually. problem is, it sets the path in a way i am not familiar. can someone tell me what is going on here...
i just want to set it to /loc/java/jdk1.4.1/bin/java
any help?
# set JAVA
[ x${JAVA} = x ] &&
[ -f ${JAVA_HOME}/bin/java ] && JAVA=${JAVA_HOME}/bin/java
[ x${JAVA} = x ] &&
[ -f ${JAVA_HOME}/bin/java.exe ] && JAVA=${JAVA_HOME}/bin/java.exe
[ x${JAVA} = x ] &&
[ -f ${GATE_HOME}/jre1.4/bin/java ] && JAVA=${GATE_HOME}/jre1.4/bin/java
[ x${JAVA} = x ] &&
[ -f ${GATE_HOME}/jre1.4/bin/java.exe ] && JAVA=${GATE_HOME}/jre1.4/bin/java.exe
[ x${JAVA} = x ] && JAVA=java
i just want to set it to /loc/java/jdk1.4.1/bin/java
any help?