C # to Java, install JDK on Linux Ubutu, and run Java programs

Source: Internet
Author: User

C # to Java, install JDK on Linux Ubutu, and run Java programs

Then choose Java, naturally the self-written program to be able to run on each OS,

Here are the installation tutorials, which are installed online via the network, and then several commands are lost, and it's easy to

I test effective

Install Oracle Java8 under Ubuntu

Ubuntu-provided openjdk often have strange and strange errors, such as an IDE that suddenly collapses. Just java8, why not try out the latest Java on the latest Ubuntu.

First add PPA

$ sudo add-apt-repository Ppa:webupd8team/java

Then update the system

$ sudo apt-get update

Finally start the installation

$ sudo apt-get install Oracle-java8-installer

$ java-version
Java version "1.8.0_05" Java (tm) SE Runtime Environment (build 1.8.0_05-b13) Java HotSpot (tm) Server VM (Build 25.5-B02, mix Ed mode)

Java version switching

sudo update-java-alternatives-s java-8-oracle

Transfer from http://blog.csdn.net/feelang/article/details/24425349

C # to Java, install JDK on Linux Ubutu, and run Java programs

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.