search
LoginSignup
9

More than 5 years have passed since last update.

posted at

ubuntuにjavaを入れる

$ sudo apt-get install openjdk-6-jre openjdk-6-jdk openjdk-6-source
$ java -version
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.4) (6b24-1.11.4-1ubuntu0.12.04.1)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

普段はjavaの人では無いのですが
取り急ぎjavaコマンドを使いたくてパッケージを導入

openjdkパッケージの他にもoracle-javaパッケージ等あったのですが違いは良く解らず。。

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
What you can do with signing up
9