7
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

centos7にjava8を入れる

Posted at

概要

個人的にメモしておく。
centos7にjava8を入れる。
今回はyumで入れてみる。

手順

$ yum search openjdk

java-1.8.0で始まるやつをいれていく

$ yum install java-1.8.0-openjdk.x86_64
$ yum install java-1.8.0-openjdk-devel.x86_64
$ java -version
openjdk version "1.8.0_111"
OpenJDK Runtime Environment (build 1.8.0_111-b15)
OpenJDK 64-Bit Server VM (build 25.111-b15, mixed mode)
7
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?