Created
November 1, 2011 15:43
-
-
Save HungYuHei/1330863 to your computer and use it in GitHub Desktop.
OpenJDK与SunJDK互相切换
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 查看系统提供的JDK版本信息 | |
| $ /usr/sbin/alternatives --config java | |
| 配置SunJDK | |
| # /usr/sbin/alternatives --install /usr/bin/java java /usr/java/jdk1.6.0_27/bin/java 2 | |
| # /usr/sbin/alternatives --config java | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment