当前位置: 技术问答>linux和unix
如何在没有root权限情况下,在SunOS 5.9 上本地安装jdk1.5,就是安装到自己的目录下?
来源: 互联网 发布时间:2016-04-01
本文导语: 我曾经看到: 1.下载 jdk-6u6-solaris-i586.tar.Z的安装(x86)。 2.$pkgadd -d . SUNWj6rt SUNWj6dev SUNWj6cfg SUNWj6man SUNWj6dmo 但需要root权限。 我的环境: SUN$ uname -a SunOS 5.9 Generic_122300-12 sun4u sparc SUNW,Sun-Fire-V490 该机器已经...
我曾经看到:
1.下载 jdk-6u6-solaris-i586.tar.Z的安装(x86)。
2.$pkgadd -d . SUNWj6rt SUNWj6dev SUNWj6cfg SUNWj6man SUNWj6dmo
但需要root权限。
我的环境:
SUN$ uname -a
SunOS 5.9 Generic_122300-12 sun4u sparc SUNW,Sun-Fire-V490
该机器已经安装了 java 1.42. (j2se).
1.下载 jdk-6u6-solaris-i586.tar.Z的安装(x86)。
2.$pkgadd -d . SUNWj6rt SUNWj6dev SUNWj6cfg SUNWj6man SUNWj6dmo
但需要root权限。
我的环境:
SUN$ uname -a
SunOS 5.9 Generic_122300-12 sun4u sparc SUNW,Sun-Fire-V490
该机器已经安装了 java 1.42. (j2se).
|
-R root_path
Define the full path name of a directory to use as the
root_path. All files, including package system informa-
tion files, are relocated to a directory tree starting
in the specified root_path. The root_path may be speci-
fied when installing to a client from a server (for
example, /export/root/client1).
Define the full path name of a directory to use as the
root_path. All files, including package system informa-
tion files, are relocated to a directory tree starting
in the specified root_path. The root_path may be speci-
fied when installing to a client from a server (for
example, /export/root/client1).
|
使用-R参数,详细情况请参照
man pkgadd
man pkgadd