码迷,mamicode.com
首页 > 编程语言 > 详细

ubuntu卸载java

时间:2015-08-11 18:16:23      阅读:147      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!