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