Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
20
Help us understand the problem. What is going on with this article?
@niusounds

UbuntuにOracle JDK8をインストール

More than 5 years have passed since last update.

まず服を脱ぎます次の三つのコマンドを実行します。

sudo apt-get install python-software-properties
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update

そして、インストールしたいバージョンによって次のいずれかのコマンドを実行します。

Oracle JDK 6

sudo apt-get install oracle-java6-installer

Oracle JDK 7

sudo apt-get install oracle-java7-installer

Oracle JDK 8

sudo apt-get install oracle-java8-installer

最後にターミナルでjava javacを試して正しく動いていればOK

20
Help us understand the problem. What is going on with this article?
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
niusounds
REALITYで活動中のスマホアプリエンジニアです。シンフォニックメタルとフォークメタルが好き。 VSCodeおじさん。

Comments

No comments
Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account Login
20
Help us understand the problem. What is going on with this article?