Your SlideShare is downloading. ×
0
Jenv: Java Environment Manager
Jenv: Java Environment Manager
Jenv: Java Environment Manager
Jenv: Java Environment Manager
Jenv: Java Environment Manager
Jenv: Java Environment Manager
Jenv: Java Environment Manager
Jenv: Java Environment Manager
Jenv: Java Environment Manager
Jenv: Java Environment Manager
Jenv: Java Environment Manager
Jenv: Java Environment Manager
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Jenv: Java Environment Manager

4,970

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 …

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
4,970
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
9
Comments
1
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. jenv: Java environment manager ----linux_china
  • 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. Agenda Why environment manger jenv introduction jenv commands jenv repository FAQ
  • 4. Why Version Manager yum and apt-get: version??? rvm: Ruby Version Manager virtualenv: Python Version Manager Other: php, node.js Java: 404
  • 5. jenv Introduction Java & Toolkit Version Manager Structure Standard Repository Based Git & Subversion Support Upgrade???
  • 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. 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. 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. 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. jenv repository Manager Candidates & Versions Public or Private Package format: zip, git or subversion Central: http:/ /jenv.io
  • 11. jenv with IntelliJ IDEA JDK setup: auto SDK(Maven, Gradle) setup: auto jenvrc support
  • 12. FAQ

×