Browse Source

Add a note about the build tools wrappers in "Getting started".

pull/11/head
Frank Pavageau 13 years ago
parent
commit
1d48767c4d
  1. 10
      README.md

10
README.md

@ -60,12 +60,12 @@ jenv is for Java,
$ jenv shell oracle-1.7.0 $ jenv shell oracle-1.7.0
~~~ ~~~
6. Check that works 7. Check that works
~~~ sh ~~~ sh
$ java -version $ java -version
~~~ ~~~
7. Add JVM Options (globally, by directory or for the current shell instance) 8. Add JVM Options (globally, by directory or for the current shell instance)
~~~ sh ~~~ sh
$ jenv global-options "-Xmx512m" $ jenv global-options "-Xmx512m"
~~~ ~~~
@ -81,12 +81,16 @@ jenv is for Java,
$ jenv shell-options "-Xmx512m" $ jenv shell-options "-Xmx512m"
~~~ ~~~
8. Check that works 9. Check that works
~~~ sh ~~~ sh
$ jenv info java $ jenv info java
~~~ ~~~
10. jenv also provides wrappers for several build tools (Ant, Gradle, Maven, SBT) that will use
the configured JVM Options (globally, by directory or for the current shell instance), unless the
tool's environment variable is already set (e.g. `ANT_OPTS` for Ant).

Loading…
Cancel
Save