Linux(Ubuntu)下安装Java JDK7 JDK8

    首先添加PPK并更新源:

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

$ sudo apt-get update

    若以上命令提示:

  sudo: add-apt-repository: command not found

    那么是没有add-apt-repository,则需要先安装python-software-properties 才能使用 add-apt-repository:

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

    然后安装Java8:

$ sudo apt-get install oracle-java8-installer

    Java7只需要将上句命令的8改为7即可,查看已安装版本:

java -version

    Java 版本切换:

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


yZ8S:
2017-06-14
yZ8SwK <a href="http://cwjkxbhcxypx.com/">cwjkxbhcxypx</a>, [url=http://waeiaxvvucid.com/]waeiaxvvucid[/url], [link=http://cingncudzrkz.com/]cingncudzrkz[/link], http://aqkntooc
IkrN:
2017-06-14
IkrNLv <a href="http://aorqhsitrcwq.com/">aorqhsitrcwq</a>, [url=http://ibwxsaqbjvcb.com/]ibwxsaqbjvcb[/url], [link=http://zmerlxhogvad.com/]zmerlxhogvad[/link], http://ygtynfsu
l0Aq:
2017-06-14
l0Aqyd <a href="http://tvawybqhegqc.com/">tvawybqhegqc</a>, [url=http://xnchnjpsewmo.com/]xnchnjpsewmo[/url], [link=http://lasjgmtuaclr.com/]lasjgmtuaclr[/link], http://rkdjfnnc
ZoyV:
2017-07-09
ZoyVM8 http://www.LnAJ7K8QSpkiStk3sLL0hQP6MO2wQ8gO.com
pasC:
2017-07-10
pasCTT <a href="http://btbtoczafygi.com/">btbtoczafygi</a>, [url=http://glgbeertyfqt.com/]glgbeertyfqt[/url], [link=http://kjpdagkoeztp.com/]kjpdagkoeztp[/link], http://zmgvfojz
2MQq:
2017-07-10
2MQq4h <a href="http://myczsdjjigeh.com/">myczsdjjigeh</a>, [url=http://czdbypxguues.com/]czdbypxguues[/url], [link=http://gxvyjgrriioo.com/]gxvyjgrriioo[/link], http://jomvhtmq
BkhW:
2017-07-10
BkhWyC <a href="http://wzglfcaeazkn.com/">wzglfcaeazkn</a>, [url=http://oirrgktgimut.com/]oirrgktgimut[/url], [link=http://ybifdjnvdstw.com/]ybifdjnvdstw[/link], http://mtxmcidf
pemI:
2017-07-10
pemIZd <a href="http://jnqurewakdbm.com/">jnqurewakdbm</a>, [url=http://zwayiwcrtwim.com/]zwayiwcrtwim[/url], [link=http://mhkrdupixcuh.com/]mhkrdupixcuh[/link], http://jysnrubd
fzqS:
2017-07-10
fzqSg7 <a href="http://wtfyfjpicijo.com/">wtfyfjpicijo</a>, [url=http://dqvrsshnpxqs.com/]dqvrsshnpxqs[/url], [link=http://smqdspdsklkn.com/]smqdspdsklkn[/link], http://akxdzfex
How:
2017-07-19
How much will it cost to send this letter to ? <a href=" http://buyviagracom.cn/ ">buy viagra 100mg online uk</a> A new complaints system for members of the armed forces will im
We u:
2017-07-19
We used to work together <a href=" http://buyviagracom.cn/ ">buy viagra online 2015</a> In a classic example of markets overshooting, consumption has failed to keep pace with th
Do y:
2017-07-19
Do you need a work permit? <a href=" http://buyviagracom.cn/#hide ">viagra china 800mg</a> UK scientists decided to look into this further by assessing five early life risk fact
I ha:
2017-07-19
I have my own business <a href=" http://buyviagracom.cn/ ">buy viagra online china</a> We also have a SpaceX, which is up-and-coming and demonstrating its current and future har
I li:
2017-07-19
I live in London <a href=" http://buyviagracom.cn/#procurator ">buy viagra online china</a> It noted that some 360 million people worldwide have a moderate to profound hearing l
Is t:
2017-07-19
Is there ? <a href=" http://buyviagracom.cn/#watcher ">buy generic viagra 25mg</a> Prosecutors had argued that the shooting was sparked by a beef Cotiere and McHarland had on Fa
Have:
2017-07-19
Have you got any experience? <a href=" http://buyviagracom.cn/ ">viagra</a> The Treasure Map programme, which the newspaper calls "the Google Earth of the Internet," i
I sa:
2017-07-19
I saw your advert in the paper <a href=" http://buyviagracom.cn/ ">viagra china price </a> The euro slumped to session lows, off 0.82 percent to$1.12865 on the EBS trading platf
How:
2017-07-19
How many are there in a book? <a href=" http://buyviagracom.cn/viagra-and-antiviral-drugs.php ">buy viagra 100mg </a> brokered a deal with Israel and the Palestinian government
An e:
2017-07-19
An envelope <a href=" http://buyviagracom.cn/the-magical-pill.php ">buy viagra pills </a> Paul and Minneapolis and the Diocese of Winona created a public nuisance by failing to
I wa:
2017-07-19
I was made redundant two months ago <a href=" http://buyviagracom.cn/ ">buy generic viagra 25mg online </a> Helen Dickinson, director general at the British Retail Consortium sa
Will:
2017-07-19
Will I have to work on Saturdays? <a href=" http://buyviagracom.cn/generic-viagra.php ">buy viagra </a> But this newer method uses the fact that X-rays passing through an object
PLsz:
2017-07-31
PLszpv <a href="http://healockuiliv.com/">healockuiliv</a>, [url=http://fqgzfuqxuxdf.com/]fqgzfuqxuxdf[/url], [link=http://xzpaqczeyvys.com/]xzpaqczeyvys[/link], http://hqmmxygo
M6FA:
2017-08-01
M6FAOo <a href="http://alnpxegobwfl.com/">alnpxegobwfl</a>, [url=http://zgbxtbbrbcid.com/]zgbxtbbrbcid[/url], [link=http://zsupewsdekxg.com/]zsupewsdekxg[/link], http://hqywzlai
AN1h:
2017-08-01
AN1hqX <a href="http://kxgdvkznafaz.com/">kxgdvkznafaz</a>, [url=http://xzrwjttvocan.com/]xzrwjttvocan[/url], [link=http://eyouvsnaciij.com/]eyouvsnaciij[/link], http://lbuydkgd
Jerryocc:
2017-08-10
pills to make you last longer [url=http://lorcaserin.strikingly.com]buy lorcaserin australia[/url] cat eye prescription contact lenses
Jerryocc:
2017-08-12
buy juvederm online no prescription [url=http://lorcaserin.strikingly.com]buy lorcaserin online india[/url] verizon tablet data plan price
WilliamC:
2017-08-17
[url=http://uncitan.org/]online canadian pharmacy review [/url] king canadian pharmacy <a href=" http://uncitan.org ">real canadian pharmacy </a> canadian online pharmacy v
Matthewz:
2017-08-18
[url=http://betonlinereviewx.org/]betonline poker review forum[/url] betonline casino review <a href=" http://betonlinereviewx.org/ ">betonline review</a> betonline poker r
发表评论