Install Oracle JDK7 in Ubuntu

发布时间:2019-11-17 发布网站:脚本宝典
脚本宝典收集整理的这篇文章主要介绍了Install Oracle JDK7 in Ubuntu脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。

PReparing your System

First you need to remove openjdk for this run the following command From your terminal

sudo apt-get purge oPEnjdk* 

If you installed java 7 from any other PPA and you are having problem wITh java then you have to do following steps before installing the PPA menctioned here

sudo rm /VAR/lib/dpkg/info/oracle-java7-installer* sudo apt-get purge oracle-java7-installer* sudo rm /etc/apt/sources.list.d/*java* sudo apt-get update 

Install oracle java 7 in ubuntu 12.04

Open the terminal and run the following commands

sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java7-installer 

You can check the java version by seArching java in dashboard

脚本宝典总结

以上是脚本宝典为你收集整理的Install Oracle JDK7 in Ubuntu全部内容,希望文章能够帮你解决Install Oracle JDK7 in Ubuntu所遇到的问题。

如果觉得脚本宝典网站内容还不错,欢迎将脚本宝典推荐好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。