移除JRE6,安裝JRE7 on Debian
沒有先移除jre6,即使安裝jre7也不會自動改為預設的JVM
移除jre6
apt-get autoremove openjdk-6-jre-lib
(自動安裝jre7)
安裝jdk7
apt-get install openjdk-7-jdk
手動設定預設JVM:
https://www.digitalocean.com/community/tutorials/how-to-manually-install-oracle-java-on-a-debian-or-ubuntu-vps
移除jre6
apt-get autoremove openjdk-6-jre-lib
(自動安裝jre7)
安裝jdk7
apt-get install openjdk-7-jdk
手動設定預設JVM:
https://www.digitalocean.com/community/tutorials/how-to-manually-install-oracle-java-on-a-debian-or-ubuntu-vps
留言
張貼留言