ppaを追加します。(割と有名なppaかとは思いますが、信用できない場合は違う方法を探ってください。)
$ sudo add-apt-repository ppa:webupd8team/java
updateします。
$ sudo apt update
java9がインストール可能かどうか見てみましょう。
$ apt search java9
ちゃんと見つかりましたね。
oracle-java9-installerをインストールしましょう。いざ、インストール!
$ sudo apt install oracle-java9-installer
気長に待ちましょう。
java8が入っている場合は、インストールの途中で削除してもいいか尋ねられます。
More than 5 years have passed since last update.
elementaryOS Freya或いはUbuntu 14.04LTSにjava9をインストールする方法
Last updated at Posted at 2017-10-17
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
0