Ignore:
Timestamp:
2017-09-15T20:49:31+12:00 (7 years ago)
Author:
ak19
Message:

Unused, but possibly useful, commented out code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/gli.sh

    r31649 r31970  
    8787    exit 1;
    8888fi
     89## if we're using a bundled java in GS2, then put the bundled java into the environment too (don't just use it to launch GLI)
     90#if [[ $javapath == *"/packages/jre"* ]]; then
     91#    if [ "$_version" -eq 2 ]; then
     92#   export JRE_HOME=$GSDLHOME/packages/jre
     93## Shouldn't be necessary to set JAVA_HOME to JRE_HOME. If only JRE_HOME exists, it should suffice for GLI:
     94#   ##export JAVA_HOME=$JRE_HOME
     95#   echo "@@@ SETTING JAVA ENV TO THE BUNDLED JRE: JRE_HOME: $JRE_HOME"
     96#   export PATH=$JRE_HOME/bin:$PATH
     97#    fi
     98#fi
     99
    89100
    90101## ---- Check that the GLI has been compiled ----
Note: See TracChangeset for help on using the changeset viewer.