読者です 読者をやめる 読者になる 読者になる

haiju's 開発メモ

開発に必要な情報を自分用にメモ

VMのManjaro-fluxbox-15.12にjdkをインストール

Arch manjaro tips

環境構築の進捗は割と進んでる方だったが、なぜか

jdkインストールの記事を書いていなかったので備忘録

をメモ。

[手順]

1. yaourt でjdkを検索

 → yaourt -Ss jdk
extra/jdk7-openjdk 7.u99_2.6.5-1
OpenJDK Java 7 development kit
extra/jdk8-openjdk 8.u92-1
OpenJDK Java 8 development kit
extra/jre7-openjdk 7.u99_2.6.5-1
OpenJDK Java 7 full runtime environment
extra/jre7-openjdk-headless 7.u99_2.6.5-1
OpenJDK Java 7 headless runtime environment
extra/jre8-openjdk 8.u92-1
OpenJDK Java 8 full runtime environment
extra/jre8-openjdk-headless 8.u92-1
OpenJDK Java 8 headless runtime environment
extra/openjdk7-doc 7.u99_2.6.5-1
OpenJDK Java 7 documentation
extra/openjdk7-src 7.u99_2.6.5-1
OpenJDK Java 7 sources
extra/openjdk8-doc 8.u92-1
OpenJDK Java 8 documentation
extra/openjdk8-src 8.u92-1
OpenJDK Java 8 sources
extra/visualvm 1.3.8-1
Visual tool integrating several commandline JDK tools and lightweight profiling
capabilities
aur/bin32-jdk 8u92-1 (8) (1.98)
Oracle Java Development Kit (32-bit)
aur/bin32-jdk-devel 9b116-1 (0) (0.00)
Oracle Java 9 Development Kit Snapshot (32-bit)
aur/bin32-jdk5 5u22-1 (1) (0.45)
Oracle Java 5 Development Kit (32-bit) (public release - end of support)
aur/bin32-jdk6 6u45-5 (1) (0.45)
Oracle Java 6 Development Kit (32-bit) (public release - end of support)
aur/bin32-jdk7 7u79-3 (4) (0.46)
Oracle Java 7 Development Kit (32-bit) (public release - end of support)
aur/denix-jdk8 8u77-1 (Out of Date) (0) (0.00)
Oracle Java 8 Development Kit (in /opt for servers)
aur/java8-openjdk-hsdis 8.u77-1 (Out of Date) (0) (0.00)
Disassembler for HotSpot
aur/jdk 8u92-1 (670) (19.87)
Oracle Java Development Kit
aur/jdk-arm 8u91-1 (5) (0.24)
Oracle Java Development Kit (v8) for ARMv7, ARMv6 and ARMv8 (64-bit)
aur/jdk-demos 8u92-1 (5) (0.09)
Demos and samples of common tasks and new functionality in Oracle Java 8 Development Kit
aur/jdk-devel 9b116-1 (18) (0.92)
Oracle Java 9 Development Kit Snapshot
aur/jdk-devel-docs 9b116-1 (1) (0.45)
Documentation for Oracle Java 9 Development Kit Snapshot
aur/jdk-docs 8u92-1 (43) (1.04)
Documentation for Oracle Java Development Kit
aur/jdk5 5u22-1 (3) (0.93)
Oracle Java 5 Development Kit (public release - end of support)
aur/jdk6 6u45-4 (69) (1.89)
Oracle Java 6 Development Kit (public release - end of support)
aur/jdk6-docs 6u30-1 (2) (0.01)
Documentation for Oracle Java 6 Development Kit
aur/jdk7 7u79-4 (126) (4.62)
Oracle Java 7 Development Kit (public release - end of support)
aur/jdk7-docs 7.80-1 (Out of Date) (11) (0.00)
Java SE Development Kit Documentation 7
aur/jdk7-openjdk-infinality 7.u95_2.6.4-1 (Out of Date) (29) (2.36)
OpenJDK Java 7 development kit
aur/jdk8-openjdk-infinality 8.u92-1 (18) (2.35)
OpenJDK Java 8 development kit with infinality patch applied
aur/jdk8-openjdk-jetbrains-git 8.u76.b03.r6.g8818da1-1 (1) (0.73)
OpenJDK Java 8 development kit with JetBrains modifications
aur/jre7-openjdk-headless-infinality 7.u95_2.6.4-1 (Out of Date) (29) (2.36)
OpenJDK Java 7 headless runtime environment
aur/jre7-openjdk-infinality 7.u95_2.6.4-1 (Out of Date) (29) (2.36)
OpenJDK Java 7 full runtime environment
aur/jre8-openjdk-headless-infinality 8.u92-1 (18) (2.35)
OpenJDK Java 8 headless runtime environment with infinality patch applied
aur/jre8-openjdk-headless-jetbrains-git 8.u76.b03.r6.g8818da1-1 (1) (0.73)
OpenJDK Java 8 headless runtime environment with JetBrains modifications
aur/jre8-openjdk-infinality 8.u92-1 (18) (2.35)
OpenJDK Java 8 full runtime environment with infinality patch applied
aur/jre8-openjdk-jetbrains-git 8.u76.b03.r6.g8818da1-1 (1) (0.73)
OpenJDK Java 8 full runtime environment with JetBrains modifications
aur/ldapjdk 4.18-3 (2) (0.00)
The Mozilla LDAP Java SDK
aur/tuxjdk 8.66.03-1 (1) (0.54)
Enhanced Open Java Development Kit for developers on Linux. Contains series of patched
to OpenJDK to enhance user experience with Java-based and Swing-based tools (NetBeans,
Idea, Android Studio, etc)
aur/tuxjdk-doc 8.66.03-1 (1) (0.54)
OpenJDK Java 8 documentation
aur/tuxjdk-src 8.66.03-1 (1) (0.54)
OpenJDK Java 8 sources

 2. Oracleのjdk8を入れるので、素直にjdkを選択

→ yaourt -S jdk

 3. インストールが終わった段階でjavacのバージョンを確認

 → javac -version
javac 1.8.0_92

 これでOK

[参考サイト]

dev.indywidualni.org

forum.antergos.com