li
  当前位置:主页 > 基础知识 > 文章内容
li
Jdk Installation of Solaris Packages
来源: www.ixdba.net  作者: IXDBA.NET官方    时间:2007-08-26   阅读:20  

Use these instructions if you want to use the pkgadd utility to install 64-bit support for the JDK.

 

1. Download and check the file size to ensure that you have downloaded the full, uncorrupted software bundle.

It's best to create a new directory to save the download bundle to, as the next step will extract several directories and files into this directory. The directory can be anywhere you choose.

Before you download the file, notice its byte size provided on the download page on the web site. Once the download has completed, compare that file size to the size of the downloaded file to make sure they are equal.

 

2. Extract the contents of the compressed tar file&:

 

On SPARC processors:

zcat jdk-6<update>-solaris-sparcv9.tar.Z | tar -xf -

 

On x64/EM64T processors:

zcat jdk-6<update>-solaris-x64.tar.Z | tar -xf -

 

This creates several directories (SUNWj6rtx, SUNWj6dvx, and SUNWj6dmx) in the current directory, which contain 64-bit support for the JDK.

 

3. Become root by running su and entering the super-user password.

 

4. Uninstall any earlier installation of 64-bit packages for this version of the JDK.

IXDBA.NET社区论坛

If your machine has an earlier 64-bit version of the JDK installed in the default location (/usr/jdk/jdk1.6.0), you must remove it before installing a later 64-bit version at that location.

You can skip this step if you intend to install the 64-bit version of the JDK in a non-default location. For more details, see Selecting the Default Java Platform.

To uninstall the Solaris packages for the JDK, remove them by running:

On all processors:

pkgrm SUNWj6rtx SUNWj6dvx SUNWj6dmx

 

5. Run the pkgadd command to install the packages.

On all processors:

 

pkgadd -d . SUNWj6rtx SUNWj6dvx SUNWj6dmx

 

This command installs the files for 64-bit support into the JDK installation at /usr/jdk/jdk1.6.0.

 

6. Delete the tar files and extracted SUNW* directories.

 

7. Exit the root shell. No need to reboot.




  上一篇: Unison使用参考大全   下一篇: java defunct产生的原因和解决办...
li
 §相关评论  
 热点文章

·RewriteRule重写规则的语法:A
·apache配置文件httpd.conf参数
·Apache的配置文件http.conf参数
·HTTP协议中POST、GET、HEAD等参
·XAMPP命令之LAMPP
·Linux中安装XAMPP(LAMPP)服务器
·网页禁止右键、禁止复制等代码
·java.lang.OutOfMemoryError:
·Mysql数据库在Linux系统常用命
·mysql问答:MySQL数据库连接过多
·MySQL数据库中Show命令的用法
li
 编辑推荐
·RewriteRule重写规则的语法:A
·apache配置文件httpd.conf参数
·Apache的配置文件http.conf参数
·HTTP协议中POST、GET、HEAD等参
·XAMPP命令之LAMPP
·Linux中安装XAMPP(LAMPP)服务器
·网页禁止右键、禁止复制等代码
·java.lang.OutOfMemoryError:
·Mysql数据库在Linux系统常用命
·mysql问答:MySQL数据库连接过多
·MySQL数据库中Show命令的用法
li
 相关篇章
·Unison使用参考大全
·Lvs调度策略研究
·Linux as4.2下Xfs文件系统的安装...
·Apache Prefork和Worker模式的性...
·神秘的DUAL
·drbd安装使用指南
·vmware三种网络连接
·如何设置MySQL同步(mysql双机热...
·Unison使用文档
·java defunct产生的原因和解决办...
·Mysql中max_allowed_packet参数设...
·在sun solaris下编译安装apache+...
·Sun solaris好站点推荐
·Rsh无密码登录设置
·Linux下修改网卡工作模式
·solaris系统管理员认证指南
·tomcat中的几点配置说明
·在Tomcat下禁止目录浏览功能
·mysql:如何让mysql支持中文gbk字...
 
li
设为首页 | 关于我们 | 技术服务 | 收藏本站 | 网站地图 | 联系方式 | 本站友情连接