···1920 # Try using the Java binary that I2P was installed with.
21 # If it's not found, try looking in the system PATH.
22--JAVA=$(which %JAVA_HOME/bin/java || which java)
23+JAVA=%JAVA%
2425 if [ -z $JAVA ] || [ ! -x $JAVA ]; then
···1920 # Try using the Java binary that I2P was installed with.
21 # If it's not found, try looking in the system PATH.
22+-JAVA=$(which "%JAVA_HOME"/bin/java || which java)
23+JAVA=%JAVA%
2425 if [ -z $JAVA ] || [ ! -x $JAVA ]; then