[转载] How to install oracle java 7 in ubuntu 13.04/12.10/12
Java is a programming language and computing platform first released by Sun Microsystems in 1995. It is the underlying technology that powers state-of-the-art programs including utilities, games, and business applications. Java runs on mor
Java is a programming language and computing platform first released by Sun Microsystems in 1995. It is the underlying technology that powers state-of-the-art programs including utilities, games, and business applications. Java runs on more than 850 million
personal computers worldwide, and on billions of devices worldwide, including mobile and TV devices.
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 13.04/12.10/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
Incoming search terms:
- install java ubuntu
- ubuntu java 7
- sun java ubuntu 12 04
- java 7 ubuntu
- ubuntu 12 04 sun java
- java ubuntu 12 04
- ubuntu 12 04 java
- install java 7 ubuntu
- ubuntu 12 java
- install java ubuntu 12 04
Related posts
- Zik – Audio player based on gstreamer (3)
- Zero Install Injector – Install software easily and without root privileges (15)
- Zattoo – Watch Online TV for free (18)
- YouAmp – Yet another music player for Linux (10)
- überStudent – Ubuntu version for Students and Researchers (18)
- YAPET – Yet Another Password Encryption Tool (2)
- YaCy – Peer to Peer free software search engine (3)
上一篇: Java初始化方法类与容器详解
下一篇: Java 常见内存溢出异常与代码实现