zoukankan      html  css  js  c++  java
  • deepin安装Oracle jdk8,以及添加add-apt-repository命令支持

    @font-face{ font-family:"Times New Roman"; } @font-face{ font-family:"宋体"; } p.MsoNormal{ mso-style-name:正文; 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安装Oracle-jdk8时,需要添加ppa。但是deepin一开始不支持add-apt-repository

    这个命令,需要

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

    先运行这个命令,选择Y就可以了,然后使用

    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

    这四个命令安装Oracle-jdk8,用键盘选择确定,然后键盘选择是,命令行就会自动安装了,使用Java -version查看jdk版本。

  • 相关阅读:
    lpc2103 rtc寄存器说明
    LPC21O3第一课:第一个实验,LED灯闪烁及ADS1.2的初步使用
    把FlvJoiner更新了一下
    Boost智能指针——weak_ptr
    买了一个USB无线网卡
    Boost的转换函数(二)
    把FlvDownloader更新了一下
    在C#中快速实现拖放操作
    Flv视频分割软件FlvSplitter发布
    用Apatch给Messenger去广告
  • 原文地址:https://www.cnblogs.com/diyunfei/p/7618508.html
Copyright © 2011-2022 走看看