tomo.gif (1144 ツバツイツト)line.gif (927 ツバツイツト)line.gif (927 ツバツイツト)line.gif (927 ツバツイツト)To previous pageTo home pageMailing to me

J2SE(Java2 Standard Edition)1.4のインストール

Modified: 24 May 2002


 J2SE 1.4のインストール

J2SEのページ

http://java.sun.com/j2se/

J2SE 1.4
http://java.sun.com/j2se/1.4/index.html


J2SE1.4の日本語のダウンロード

http://java.sun.com/j2se/1.4/ja/download.html

上記から、"j2re-1_4_0-linux-i386-rpm.bin"と、"j2sdk-1_4_0-linux-i386-rpm.bin" をダウンロードしました。(2002年5月19日)


"compact-libstdc++"のダウンロード

Redhat Linux 7.2 の CD-ROM("Redhat/RPMS"に入っている)から入手します。

オンラインでは、以下からダウンロードできます。
http://rpmfind.net//linux/RPM/redhat/7.2/i386/compat-libstdc++-6.2-2.9.0.16.i386.html


解凍からインストール

以下の手順で行います。

SDKのインストール

$ chmod a+x j2sdk-1_4_0-linux-i386-rpm.bin
$ ./j2sdk-1_4_0-linux-i386-rpm.bin

Sun Microsystems, Inc.
Binary Code License Agreement

READ THE TERMS OF THIS AGREEMENT AND ANY PROVIDED SUPPLEMENTAL LICENSE
TERMS (COLLECTIVELY "AGREEMENT") CAREFULLY BEFORE OPENING THE SOFTWARE
MEDIA PACKAGE. BY OPENING THE SOFTWARE MEDIA PACKAGE, YOU AGREE TO
THE TERMS OF THIS AGREEMENT. IF YOU ARE ACCESSING THE SOFTWARE
ELECTRONICALLY, INDICATE YOUR ACCEPTANCE OF THESE TERMS BY SELECTING

  :
(途中略)
  :

9. Termination for Infringement. Either party may terminate this
Agreement immediately should any Software become, or in either party's
opinion be likely to become, the subject of a claim of infringement of
any intellectual property right.

For inquiries please contact: Sun Microsystems, Inc. 901 San Antonio
Road, Palo Alto, California 94303
(LFI#109998/Form ID#011801)

Do you agree to the above license terms? [yes or no]
yes
Unpacking...
Checksumming...
0
0
Extracting...
UnZipSFX 5.40 of 28 November 1998, by Info-ZIP (Zip-Bugs@lists.wku.edu).
inflating: j2sdk-1_4_0-fcs-linux-i386.rpm
Done.
$ su
Password: *****
# rpm -iv j2sdk-1_4_0-fcs-linux-i386.rpm
Preparing packages for installation...
j2sdk1.4.0-fcs
#


JREのインストール

$ chmod a+x j2re-1_4_0-linux-i386-rpm.bin
$ ./
j2re-1_4_0-linux-i386-rpm.bin

Sun Microsystems, Inc.
Binary Code License Agreement

READ THE TERMS OF THIS AGREEMENT AND ANY PROVIDED SUPPLEMENTAL LICENSE
TERMS (COLLECTIVELY "AGREEMENT") CAREFULLY BEFORE OPENING THE SOFTWARE
MEDIA PACKAGE. BY OPENING THE SOFTWARE MEDIA PACKAGE, YOU AGREE TO
THE TERMS OF THIS AGREEMENT. IF YOU ARE ACCESSING THE SOFTWARE
ELECTRONICALLY, INDICATE YOUR ACCEPTANCE OF THESE TERMS BY SELECTING

  :
(途中略)
  :

9. Termination for Infringement. Either party may terminate this
Agreement immediately should any Software become, or in either party's
opinion be likely to become, the subject of a claim of infringement of
any intellectual property right.

For inquiries please contact: Sun Microsystems, Inc. 901 San Antonio
Road, Palo Alto, California 94303
(LFI#109998/Form ID#011801)


Do you agree to the above license terms? [yes or no]
yes
Unpacking...
Checksumming...
0
0
Extracting...
UnZipSFX 5.40 of 28 November 1998, by Info-ZIP (Zip-Bugs@lists.wku.edu).
inflating: j2re-1_4_0-fcs-linux-i386.rpm
Done.
$ su
Password: *****
# rpm -iv j2re-1_4_0-fcs-linux-i386.rpm
Preparing packages for installation...
j2re-1_4_0-fcs
#


"compact-Libstdc++" のインストール

# rpm -iv compat-libstdc++-6.2-2.9.0.16.i386.rpm
Preparing packages for installation...
compat-libstdc++-6.2-2.9.0.16
#


以下に、手動インストールが必要であることの説明があります。
http://java.sun.com/j2se/1.4/ja/jre/install-linux.html


インストールの確認

J2SDKとJ2JREは、”/usr/java/j2sdk1.4.0”と、”/usr/java/j2re1.4.0”にインストールされているので確認できます。


PATHを設定

".bash_profile"に追加して、J2SE が使えるようにします。

# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

# User specific environment and startup programs

PATH=/usr/java/j2sdk1.4.0/bin:/usr/java/j2re1.4.0/bin:$PATH
export PATH

$JAVA_HOME=/usr/java/j2sdk1.4.0; export JAVA_HOME

unset USERNAME


To previous pageTo home pageMailing to meJump to Top of pageline.gif (927 ツバツイツト)line.gif (927 ツバツイツト)tomo.gif (1144 ツバツイツト)