fred vars updated to include an EDITOR setting.
[feisty_meow.git] / scripts / examples / custom_overrides / fred / java_profile.sh
index 9ef448047ab7527090427db47af936537ff3880a..82bf336e5c39adb81c80fc74275a44a783eb9048 100644 (file)
@@ -30,6 +30,9 @@ if [ ! -d "$JAVA_HOME" ]; then
   # first try a recent linux version.
   export JAVA_HOME=/usr/lib/jvm/java-6-sun/jre
 fi
+if [ ! -d "$JAVA_HOME" ]; then
+  export JAVA_HOME=/usr/lib/jvm/java-7-oracle/jre
+fi
 if [ ! -d "$JAVA_HOME" ]; then
   # try using a windows version.
 #note: this logic is untested.