Jenv: Java Environment Manager

6,547 views
6,273 views

Published on

jenv is Java environment manager, and it is a clone of RVM for Java. jenv can manage parallel versions of Java development kits on any Unix based system. It provides a convenient command line interface for installing, switching, removing and listing Candidates.

Published in: Technology, News & Politics
1 Comment
0 Likes
Statistics
Notes
  • Be the first to like this

No Downloads
Views
Total views
6,547
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
11
Comments
1
Likes
0
Embeds 0
No embeds

No notes for slide

Jenv: Java Environment Manager

  1. 1. jenv: Java environment manager ----linux_china
  2. 2. About Me Java Engineer with 14 years Preacher of IntelliJ IDEA Weibo: @linux_china Github: https:/ /github.com/linux-china/ Book Shelf, Snippet, OSS Shell IntelliJ IDEA iBATIS plugin WebSQL Plus, Webx plugin Humanstxt, faxianla.com
  3. 3. Agenda Why environment manger jenv introduction jenv commands jenv repository FAQ
  4. 4. Why Version Manager yum and apt-get: version??? rvm: Ruby Version Manager virtualenv: Python Version Manager Other: php, node.js Java: 404
  5. 5. jenv Introduction Java & Toolkit Version Manager Structure Standard Repository Based Git & Subversion Support Upgrade???
  6. 6. jenv basic Install: curl -s get.jenv.mvnsearch.org | bash List: jenv ls maven Install: jenv install maven Switch: jenv use maven 3.1.1 cd XXX_HOME: jenv cd maven 3.1.1
  7. 7. jenv commands Default version: jenv default maven 3.0.5 current candidate: jenv which java Candidate Update: jenv update xxx version Self update: jenv selfupdate Repo update: jenv repo update Uninstall: jenv uninstall ant 1.8.4
  8. 8. jenvrc a file named “jenvrc” in the directory properties format as following: java=1.7.0_45 maven=3.1.1 Change java env after “cd”
  9. 9. Repeatable Development Environments with jenv clone jenv to remote host $ jenv clone user@dest-host clone candidate to remote host $ jenv clone candidate version user@dest-host clone candidate from remote host $ jenv clone user@dest-host candidate version
  10. 10. jenv repository Manager Candidates & Versions Public or Private Package format: zip, git or subversion Central: http:/ /jenv.io
  11. 11. jenv with IntelliJ IDEA JDK setup: auto SDK(Maven, Gradle) setup: auto jenvrc support
  12. 12. FAQ

×