Add a note in order to clarify that -Xbootclasspath is optional.
This commit is contained in:
parent
bb4badefab
commit
b5b6b56e6d
1 changed files with 3 additions and 0 deletions
3
bin/lein
3
bin/lein
|
@ -110,5 +110,8 @@ elif [ "$1" = "upgrade" ]; then
|
|||
esac
|
||||
fi
|
||||
else
|
||||
# The -Xbootclasspath argument is optional here: if the jar
|
||||
# doesn't exist everything will still work, it will just have a
|
||||
# slower JVM boot.
|
||||
exec java -Xbootclasspath/a:"$CLOJURE_JAR" -client $JAVA_OPTS -cp "$CLASSPATH" -Dleiningen.version="$VERSION" clojure.main -e "(use 'leiningen.core)(-main $ESCAPED_ARGS)"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue