简体   繁体   English

如何为Solaris 10安装JDK 1.5

[英]How to install JDK 1.5 for Solaris 10

I been trying to install but keep on getting file is corrupted when unpacking the file after accepting the license agreement. 我一直在尝试安装,但是在接受许可协议后解压缩文件时,文件继续损坏。

Anyone have any advice. 任何人都有任何建议。

http://java.sun.com/javase/downloads/index_jdk5.jsp http://java.sun.com/javase/downloads/index_jdk5.jsp

I installing this jdk-1_5_0_17-solaris-sparc.sh 我安装了这个jdk-1_5_0_17-solaris-sparc.sh

Installer (jdk-1_5_0_17-solaris-sparc.sh) is a script which contains two parts: text part (up to a license agreement) and binary part (zipped data, the JDK itself). 安装程序(jdk-1_5_0_17-solaris-sparc.sh)是一个脚本,其中包含两个部分:文本部分(直至许可协议)和二进制部分(压缩数据,JDK本身)。

File is corrupted in the second, binary part. 第二个二进制文件中的文件已损坏。

My guess is that you're transferring installer by FTP without using binary mode. 我的猜测是您正在通过FTP传输安装程序,而不使用二进制模式。 If you're using plain vanilla ftp, just type "bin" before you download the file. 如果您使用的是普通的ftp,请在下载文件之前输入“ bin”。 If that's another FTP client, consult help. 如果那是另一个FTP客户端,请咨询帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM