Ubuntu installs Oracle JDK

Source: Internet
Author: User

1. Installing ORACLE-JDK

To open the terminal, use the following command:

Java -version

If you see output like the following, this means that you have not installed Java:

The program 'java' can is found in the following packages: /c9>

* default-JRE

* gcj-4.6-JRE-headless

* openjdk-6-JRE-headless

* GCJ-4.5-JRE-headless

* openjdk-7-JRE-headless

Try: sudo apt-get install

Use the following command to install, just some time, it will download a lot of files, and you want to make sure that your network environment is good:

sudo add-apt-repository ppa:webupd8team/java

sudo apt-get update

sudo apt-get Install Oracle-java8-installer

sudo apt-get Install Oracle-java8-set-default

2. Installing Genymotion

Installation of genymotion requires the installation of VirtualBox, the following command:

sudo apt-get install VirtualBox

Then download Genymotion,chmod +x geny.....bin add permission after execution, unzip, then double click to open

Ubuntu installs Oracle JDK

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.