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

[2] http://www.cnblogs.com/bluestorm/p/5677625.html

相关文章:

  • 2021-12-03
  • 2021-10-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-08
猜你喜欢
  • 2022-01-20
  • 2021-11-20
  • 2021-09-29
  • 2021-12-12
  • 2021-07-28
  • 2021-12-05
  • 2022-03-09
相关资源
相似解决方案