Solaris2.6へのパッチ当てとJDK1.1.6のインストール

Original 1998.11.06
Last Update: 2000.05.24

2000.05.24: 本マニュアルは参考です。現バージョンの分散ロボットは、 JDK1.1.Xでは動作しません。必ずJDK1.2.2_03以降をご利用下さい。

Solaris2.6には標準でJDK1.1.3が付属されておりますが、最新でかつ動作 速度の早い JDK1.1.6 を利用します。JDK1.1.6を利用するためには、まず Solaris2.6へのパッチ当てが必要になります。配布いたしましたPCをご利用 (Intel版Solaris2.6利用時)の場合には、以下の手順に従ってパッチ当てを 行い、その後、JDK1.1.6のインストールを行って下さい。

なお、各サイトで独自にご用意いただいたマシンをご利用される場合には、 http://sunsolve.sun.co.jp/pub-cgi/show.pl?target=patches/patch-accessより、該当 OSバージョンのパッチを入手し、パッチ当てを行った後、 http://www.sun.com/solaris/java/index.htmlより 該当システム に対応する JDK1.1.6 (Japanese版)をインストール願います。


Solaris2.6 Patch

  1. http://sunsolve.sun.co.jp/pub-cgi/show.pl?target=patches/patch-accessのページ をアクセスし、
    Recommend and Security Patch Clusters
    Solaris 2.6_x86
    (ファイル名:2.6_x86_Recommended.tar.Z)
    をとってくる。
  2. rootになる。
  3. 適当なディレクトリ(ここでは/opt/patch)で、展開する。
    # uncompress 2.6_x86_Recommended.tar.Z
    # tar xvf 2.6_x86_Recommended.tar --- パッチの展開
    .....
    # ls -al
    合計 60118
    drwxr-xr-x   3 root     other        512 11月  5日  14:55 .
    drwxrwxr-x   5 root     sys          512 11月  5日  14:55 ..
    drwxr-xr-x  38 root     daemon      1024 11月  4日  15:12 2.6_x86_Recommended
    -rw-r--r--   1 root     other    30750720 11月  5日  14:54 2.6_x86_Recommended.tar
    # cd  2.6_x86_Recommended
    drwxr-xr-x   3 root     root         512 11月  4日  15:05 106258-04
    drwxr-xr-x   4 root     root         512 11月  4日  15:08 106272-04
    drwxr-xr-x   3 root     root         512 11月  4日  15:08 106302-01
    drwxr-xr-x   3 root     root         512 11月  4日  15:08 106440-02
    drwxr-xr-x   3 root     root         512 11月  4日  15:09 106449-01
    -rw-r--r--   1 root     daemon     10462 11月  4日  15:12 CLUSTER_README
    -rw-r--r--   1 root     daemon      2574 11月  4日  15:12 copyright
    -rwxr--r--   1 root     daemon      5898 11月  4日  15:12 install_cluster
    -rw-r--r--   1 root     daemon       360 11月  4日  15:12 patch_order
    # ./install_cluster --- パッチのインストール
    Patch cluster install script for Solaris 2.6 x86_Recommended
    
    
    *WARNING* SYSTEMS WITH LIMITED DISK SPACE SHOULD *NOT* INSTALL PATCHES:
    With or without using the save option, the patch installation process
    will still require some amount of disk space for installation and
    administrative tasks in the /, /usr, /var, or /opt partitions where
    patches are typically installed.  The exact amount of space will
    depend on the machine's architecture, software packages already 
    installed, and the difference in the patched objects size.  To be
    safe, it is not recommended that a patch cluster be installed on a
    system with less than 4 MBytes of available space in each of these
    partitions.  Running out of disk space during installation may result
    in only partially loaded patches.  Check and be sure adequate disk space
    is available before continuing.
    
    Are you ready to continue with install? [y/n]:y
    Determining if sufficient save space exists...
    Sufficient save space exists, continuing...
    Installing patches located in /opt/patch/2.6_x86_Recommended
    Using patch_order file for patch installation sequence
    Installing 106126-05...
    
    ....
    
    Rebooting the system is usually necessary after installation.
    #
    
  4. リブートする
    # /usr/sbin/shutdown -y -g0 -i0

JDK1.1.6のインストール

  1. JDK1.1.6を入手する
    http://www.sun.com/solaris/java/index.htmlへアクセスし、
    Localized JDK downloads - available in 9 languages.
    JDK 1.1.6 for Solaris Production Release
    をクリック
  2. 画面で、Japanese, Solaris 2.5.1/2.6 Intel Edition JDK (Native threads), I Have Read and Agree to License Termsを選択し、Submitをクリック。
  3. 画面で、個人情報を入力し、Submitをクリック。
  4. 画面で、Download: JDKのJDKをクリックすると、 i386_jdk.tar.Zが入手できる。
  5. rootになる。
  6. 適当なディレクトリで以下の作業を行う(この例では/opt/java)。
    # uncompress i386_jdk.tar.Z
    # tar xvf i386_jdk.tar
    
    .....
    
    
    # pkgrm SUNWjvdem SUNWjvman SUNWjvdev SUNWjvjit SUNWjvrt SUNWjjvrt SUNWjjvdv 
       ---- 既にインストール済みのJDK1.1.3を削除します。
    
    次のパッケージは現在インストールされています:an SUNWjvdev SUNWjvjit
       SUNWjvdem       JavaVM demo programs
                       (i386) 1.1,REV=97.07.16.19.32
    
    Do you want to remove this package? y
       ---- ひたすら、yを入力します。
    
    .....
    
    ## システム情報を更新しています。
    
    Removal of  was successful.
    
    # pkgadd -d . SUNWjvrt SUNWjvdev SUNWjvjit SUNWjvman SUNWjvdem SUNWjjvrt SUNWjjvdv SUNWjejmn SUNWjpjmn
       ----- JDK1.1.6をインストールします。
    
    .....
    
    Installation of  was successful.
    #
    
  7. 以上でJDK1.1.6のインストール完了

written by yamana@etl.go.jp