Install Sun’s Java Virtual Machine ( J2SE(TM) Development Kit 5.0 Update 9 ) on Fedora Core / Linux platform in 5 simple steps.安装Sun的Java虚拟机( J2SE的(技术备忘录)开发工具包5.0更新九日)就浅顶软呢帽核心/ Linux平台在5简单的步骤。 The procedure is geared for users having access to Linux box from ssh / telnet only as in a vpn / dedicated web hosting.程序是面向用户有机会到Linux的方块从SSH的/ Telnet工作只是作为在一个VPN /专用Web托管。 However it can be used by anyone.但它可用于任何人。

Step 1:第1步:
Login as root (su) and cd to a temporary directory for downloads.以root登入(苏)和CD到一个临时目录下载。 Suppose your user name is john then you can do:假设你的用户名是约翰,然后你可以做的:

su
cd ~john 裁谈会〜约翰

Step 2:第2步:
Download J2SE(TM) Development Kit 5.0 Update 9 as Linux RPM in self-extracting file using wget.下载的J2SE (技术备忘录)开发工具包5.0更新9随着Linux在RPM的自解压缩文件,使用wget 。 To do that first browse to this这样做,首先浏览到这 link链接 using your browser.使用您的浏览器。 After accepting the license copy the link corresponding to Linux RPM in self-extracting file .之后,接受授权链接复制到Linux相应的转速在自解压文件

Use wget to copy the link.使用wget复制链接。 Specify the output file as wget will be unable to save the default name it generates because it is too long:指定输出文件作为wget将无法保存的默认名称它所产生的,因为它是太长:
wget http://192.18.108.145/ECom/EComTicketServlet/…i586-rpm.bin -O jdk-1_5_0_09-linux-i586-rpm.bin wget http://192.18.108.145/ecom/ecomticketservlet/ … i586 - rpm.bin邻的JDK - 1_5_0_09 - Linux的i586 - rpm.bin

Note: -O specifies the output file as shown above.注: - O的指定输出文件如上所示。

Step 3:第3步:
Install JVM as follows:安装的JVM如下:

sh jdk-1_5_0_09-linux-i586-rpm.bin 的SH的JDK - 1_5_0_09 - Linux的i586 - rpm.bin

Step 4:第4步:
Now download现在下载 java-1.5.0-sun-compat-1.5.0.09-1jpp.noarch.rpm爪哇- 1.5.0 -孙- compat - 1.5.0.09 - 1jpp.noarch.rpm using wget.使用wget 。
Install it as follows:它安装如下:
rpm -i java-1.5.0-sun-compat-1.5.0.09-1jpp.noarch.rpm RPM的我的Java - 1.5.0 -孙- compat - 1.5.0.09 - 1jpp.noarch.rpm

This sets up environment variables, paths, symbolic links etc.这个设置环境变量,路径,符号链接等。

Step 5:第5步:
Create a new console and type java .创建一个新的控制台和类型的Java You should see something like:您应该会看到一些像这样:

Usage: java [-options] class [args...] 用法: Java的[选项]级[ args ... ]

You are done!你这样做!