はじめに

現在の状態の確認

grape:~ # update-alternatives --display java
java - status is auto.
 link currently points to /usr/lib/jvm/jre-1.5.0-sun/bin/java/usr/lib/jvm/jre-1.5.0-sun/bin/java - priority 1514
 slave ktab.1.gz: /usr/share/man/man1/ktab-java-1_5_0-sun.1.gz
 slave keytool.1.gz: /usr/share/man/man1/keytool-java-1_5_0-sun.1.gz
 slave rmid.1.gz: /usr/share/man/man1/rmid-java-1_5_0-sun.1.gz
 slave orbd.1.gz: /usr/share/man/man1/orbd-java-1_5_0-sun.1.gz
 slave rmid: /usr/lib/jvm/jre-1.5.0-sun/bin/rmid
 slave servertool.1.gz: /usr/share/man/man1/servertool-java-1_5_0-sun.1.gz
 slave javaws.1.gz: /usr/share/man/man1/javaws-java-1_5_0-sun.1.gz
 slave jre_exports: /usr/lib/jvm-exports/jre-1.5.0-sun
 slave javaws: /usr/lib/jvm/jre-1.5.0-sun/bin/javaws
 slave policytool: /usr/lib/jvm/jre-1.5.0-sun/bin/policytool
 slave orbd: /usr/lib/jvm/jre-1.5.0-sun/bin/orbd
 slave rmiregistry: /usr/lib/jvm/jre-1.5.0-sun/bin/rmiregistry
 slave tnameserv: /usr/lib/jvm/jre-1.5.0-sun/bin/tnameserv
 slave rmiregistry.1.gz: /usr/share/man/man1/rmiregistry-java-1_5_0-sun.1.gz
 slave ControlPanel: /usr/lib/jvm/jre-1.5.0-sun/bin/ControlPanel
 slave tnameserv.1.gz: /usr/share/man/man1/tnameserv-java-1_5_0-sun.1.gz
 slave keytool: /usr/lib/jvm/jre-1.5.0-sun/bin/keytool
 slave klist.1.gz: /usr/share/man/man1/klist-java-1_5_0-sun.1.gz
 slave servertool: /usr/lib/jvm/jre-1.5.0-sun/bin/servertool
 slave java.1.gz: /usr/share/man/man1/java-java-1_5_0-sun.1.gz
 slave kinit.1.gz: /usr/share/man/man1/kinit-java-1_5_0-sun.1.gz
 slave jre: /usr/lib/jvm/jre-1.5.0-sun
 slave policytool.1.gz: /usr/share/man/man1/policytool-java-1_5_0-sun.1.gz
Current `best' version is /usr/lib/jvm/jre-1.5.0-sun/bin/java.
grape:~ # 

Java 6 の取得と展開

getJava6.png
 
grape:~ # chmod +x jdk-6u16-linux-i586.bin
grape:~ # ./jdk-6u16-linux-i586.bin

 (ライセンス条項を読んで y を押す)

grape:~ # mv jdk1.6.0_16 /usr/lib/jvm

update-alternatives の実行

Tomcat を再起動して Java 6 で動いているか確認する


Suse 10 Server


添付ファイル: filegetJava6.png 2545件 [詳細] fileTomcatOnJava6.png 2758件 [詳細]

トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS   sitemap
Last-modified: 2009-10-05 (月) 02:30:33 (5551d)
Short-URL:
ISBN10
ISBN13
9784061426061