added c: option for jdk
authorChris Koeritz <fred@gruntose.com>
Wed, 7 Mar 2012 19:12:18 +0000 (14:12 -0500)
committerChris Koeritz <fred@gruntose.com>
Wed, 7 Mar 2012 19:12:18 +0000 (14:12 -0500)
examples/custom_overrides/fred/java_profile.sh

index 24eb0756e12cd5513ff54a755c108b6b386b5ea3..7bd29d93a55e0e2d3c02c61aac0c63633706b5b1 100755 (executable)
@@ -49,6 +49,9 @@ if [ ! -d "$JAVA_HOME" ]; then
   # try an even more recent version.
   export JAVA_HOME=/usr/lib/jvm/java-7-oracle/jre
 fi
+if [ ! -d "$JAVA_HOME" ]; then
+  JAVA_HOME="c:/tools/java6-jdk"
+fi
 if [ ! -d "$JAVA_HOME" ]; then
   if [ ! -z "$(grep 'd:' /proc/mounts)" ]; then
     # try using a windows version.