Chinaunix首页 | 论坛 | 博客
  • 博客访问: 170063
  • 博文数量: 28
  • 博客积分: 536
  • 博客等级: 中士
  • 技术积分: 285
  • 用 户 组: 普通用户
  • 注册时间: 2011-11-10 21:00






分类: 系统运维

2011-12-14 23:33:36



swlist | more


进入/opt目录查看有java1.3 1.4 1.5 和6.


进入/opt/java6/bin查看./java -version。







export PATH=/opt/java1.5/jre/IA64N:$PATH声明。



Java Runtime Ennvironment Download Instructions

  1. Go to the page (Available downloads section) and select the "SDK & RTE" or "JDK & JRE" version (either 1.4.x, 5.0.x, or 6.0.x) that is appropriate for your system.   Note that there are downloads available for both HP-9000 PA-RISC and HP Integrity (Itanium) systems.
  2. Select the appropriate RTE, complete the software license agreement, and follow the instructions to download and install the software.

Java Runtime Plug-in Download Instructions

Note: Mozilla 1.7.3 works with only SDK 1.4.0 and later.   It is not supported on 1.3.x.

Both the RTE and the JPI are needed.   Follow these steps to obtain them:

  1. Go to the Runtime Plug-in 1.4.2.x for Netscape/Mozilla Downloads and Documentation page and select the appropriate runtime plug-in version.   Note that this page also has links to downloads for versions 5.0.x and 6.0.x.   Note that beginning with version 5.0, the Plug-in is included in the RTE download.   For version 1.4.x, the Plug-in is a separate download.
  2. Select the appropriate Plug-in, complete the software license agreement, and follow the instructions to download and install the software.

Follow the installation instructions to install these products.   The products will install in the /opt/java1.x directory tree, where x is 4 or 5 depending on which version you are using.

Depending on the version of Java you are using you may need to create the links necessary to allow Mozilla to locate the runtime plug-in shared library.   For information on this, please see .

After installing Mozilla and the Java RTE and runtime plug-in, you may need to configure some user preferences in each user's Mozilla environment.   Java should be enabled by default.   If it is not, the steps are:

  1. Run Mozilla with '/opt/mozilla/mozilla' or equivalent.
  2. Select "Edit-> Preferences-> Advanced" from the Mozilla toolbar.
  3. Check the box "Enable Java". (This is the default.)
  4. Click "OK".

The JPI comes with a ControlPanel which can be accessed from the Mozilla browser with
"File-> Open Page" then entering (for example) "/opt/java1.3/jre/ControlPanel.html" in the file selection window, and clicking "Open in Navigator".   This will display a page with a number of Java options.

It is not necessary for most users to do anything with the Control Panel, as the defaults are appropriate in most cases.   For more information, see the .

阅读(3036) | 评论(0) | 转发(0) |