首页 > 编程语言 > 详细

ubuntu卸载java

时间:2015-08-11 18:14:20      阅读:281      评论:0      收藏:0      [点我收藏+]

Try this command:

java -version

If 1.6* comes then try:

sudo apt-get autoremove openjdk-6-jre

If 1.7* comes then try:

sudo apt-get autoremove openjdk-7-jre

Assuming that you don‘t have jdk in your system. If you have use this command:

sudo apt-get autoremove openjdk-"<version>"-jdk

replace with the version like we did it in previous example.

 

Reference:

[1] http://askubuntu.com/questions/84483/how-to-completely-uninstall-java

ubuntu卸载java

原文:http://www.cnblogs.com/wubdut/p/4721441.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!