Deepin Installing Oracle Jdk8, and adding add-apt-repository command support

Source: Internet
Author: User

@font-face{font-family: "Times New Roman";} @font-face{font-family: "Song Body";} p.msonormal{mso-style-name: text; Mso-style-parent: ""; margin:0pt; margin-bottom:.0001pt; Mso-pagination:none; Text-align:left; Font-family: ' Times New Roman '; font-size:12.0000pt; mso-font-kerning:1.0000pt; } span.msoins{mso-style-type:export-only; Mso-style-name: ""; Text-decoration:underline; Text-underline:single; Color:blue; } span.msodel{mso-style-type:export-only; Mso-style-name: ""; Text-decoration:line-through; color:red; } @page {mso-page-border-surround-header:no; mso-page-border-surround-footer:no;} @page section0{margin-top:72.0000pt; margin-bottom:72.0000pt; margin-left:89.8500pt; margin-right:89.8500pt; size : 612.3500pt 790.9500pt; layout-grid:14.3500pt; } div. Section0{page:section0;}

Deepin You need to add a PPAwhen installing oracle-jdk8 . But Deepin didn't support add-apt-repository at first.

This command, need

sudo apt-get install Software-properties-common python-software-properties

Run this command first, select Y to do it , and then use the

sudo apt-get install python-software-properties

sudo add-apt-repository Ppa:webupd8team/java

sudo apt-get update

sudo apt-get install Oracle-java8-installer

These four commands install oracle-jdk8, choose OK with the keyboard, then select Yes, the command line will be installed automatically, use java-version to view the jdk version.

Deepin Installing Oracle Jdk8, and adding add-apt-repository command support

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.