免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1458 | 回复: 2
打印 上一主题 下一主题

为什么安装jdk时候会出现***** [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-06-12 19:45 |只看该作者 |倒序浏览
root@localhost root]# ./j2sdk-1_4_1_02-linux-i586.bin
bash: ./j2sdk-1_4_1_02-linux-i586.bin: Permission denied
我直接双击时候出现!/bin/sh
PATH=/usr/bin:/bin
NODOT_VERSION=141_02
javahome=j2sdk1.4.1_02
libthread_path=
localinstall=$1
more <<"EOF"
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 THE "ACCEPT" BUTTON AT THE END OF THIS AGREEMENT.
IF YOU DO NOT AGREE TO ALL THESE TERMS, PROMPTLY RETURN THE
UNUSED SOFTWARE TO YOUR PLACE OF PURCHASE FOR A REFUND OR,
IF THE SOFTWARE IS ACCESSED ELECTRONICALLY, SELECT THE
"DECLINE" BUTTON AT THE END OF THIS AGREEMENT.
但是无法安装!不知道为什么,因为要用oracle所以必需安装jdk.请帮忙!

论坛徽章:
0
2 [报告]
发表于 2003-06-12 23:43 |只看该作者

为什么安装jdk时候会出现*****

下面的是sun公司网站上j2se1.4下载页面里面的安装介绍。很多软件在下载页面都有软件安装、使用文档链接,多注意一下,可以省很多时间的。
http://java.sun.com/j2se/1.4.1/install-linux.html

1. Check the download file size.

Before you download a file, notice that its byte size is provided on the download page on the web site. Once the download has completed, check that you have downloaded the full, uncorrupted software file.

2. Copy j2sdk-1_4_1_<version number>;-linux-i586.bin to the directory into which you want to install the Java 2 SDK.


3. Run j2sdk-1_4_1_<version number>;-linux-i586.bin

Launch the executable file you downloaded, j2sdk-1_4_1_<version number>;-linux-i586.bin, by using the following commands from the directory in which it is located:

chmod a+x j2sdk-1_4_1_<version number>;-linux-i586.bin

./j2sdk-1_4_1_<version number>;-linux-i586.bin

The script displays a binary license agreement, which you are asked to agree to before installation can proceed. Once you have agreed to the license, the install script installs the Java 2 SDK in a directory named j2sdk1.4.1_<version number>; in the current directory.


Installation of RPM File
Use these instructions if you want to install Java 2 SDK in the form of RPM packages. If you want to use the self-extracting binary file instead, see Self-Extracting Binary.
1. Check the download file size.

Before you download a file, notice that its byte size is provided on the download page on the web site. Once the download has completed, check that you have downloaded the full, uncorrupted software file.

2. Run j2sdk-1_4_1_<version number>;-linux-i586-rpm.bin and agree to the license it displays.

Launch the executable file you downloaded, j2sdk-1_4_1_<version number>;-linux-i586-rpm.bin, by using the following commands from the directory in which it is located:


chmod a+x j2sdk-1_4_1_<version number>;-linux-i586-rpm.bin

./j2sdk-1_4_1_<version number>;-linux-i586-rpm.bin

The script displays a binary license agreement, which you are asked to agree to before installation can proceed. Once you have agreed to the license, the install script creates the file j2sdk-1_4_1_<version number>;-linux-i586.rpm in the current directory.
3. Become root by running the su command and entering the super-user password.

4. Run the rpm command to install the packages that comprise the Java 2 SDK:

rpm -iv j2sdk-1_4_1_<version number>;-linux-i586.rpm

5. Exit the root shell.

论坛徽章:
0
3 [报告]
发表于 2003-06-13 08:53 |只看该作者

为什么安装jdk时候会出现*****

permission denied:
需要
chmod +x j2sdk-1_4_1_<version number>;-linux-i586.bin
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP