SHARE
TWEET

Untitled

a guest Jun 17th, 2019 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Use jenv add to inform jenv where your Java environment is located. jenv does not, by itself, install Java; for example:
  2. $>jenv add /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
  3.   oracle64-1.6.0.39 added
  4. $>jenv add /Library/Java/JavaVirtualMachines/jdk17011.jdk/Contents/Home
  5.   oracle64-1.7.0.11 added
  6.  
  7. # List java versions under management
  8. $>jenv versions
  9.  
  10. # Configure global version
  11. $>jenv global <java-version>
  12.  
  13. # Configure local version (per directory)
  14. $>jenv local <java-version>
  15.  
  16. # Configure shell instance version
  17. $>jenv shell <java-version>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top