To remove jdk using update-alternatives, open Terminal and type the commands:
sudo update-alternatives --remove "javac" "/home/you/jdk1.7.0_11/bin/javac"
sudo update-alternatives --remove "java" "/home/you/jdk1.7.0_11/bin/java"
remove JDK in Ubuntu Linux |
After remove the old jdk, you can remove the old jdk from your hardisk, and re-install the new JDK 7 and update-alternatives.
No comments:
Post a Comment