Solaris is a Unix-based operating system designed and marketed by Sun Microsystems. Solaris can be used as a complete software production system, with Java being included. To write Java programs on a Solaris system, the Java Development Kit (JDK) must be installed.
The javac compiler can be used to compile all of your Java source files easily from the terminal of your Solaris system.
Instructions
-
-
1
Point your Web browser to the Java JDK download page (see Resource 1). Click on the download link in the listing located on the bottom half of the page that matches your specific Solaris machine type. If the system is running a 32-bit Intel or AMD processor,
click the link labeled "jdk-6u26-solaris-i586.tar.Z"; for SPARC systems less than Version 9, click "jdk-6u26-solaris-sparc.tar.Z"; for SPARC systems that are Version 9, click "jdk-6u26-solaris-sparcv9.tar.Z"; and for Intel or AMD systems that are 64-bit, click
"jdk-6u26-solaris-x64.tar.Z."
-
2
Read and agree to the Terms of Use provided on the page that appears after clicking your needed download link. Place a check mark in the box next to "I Agree" at the bottom of the agreement block.
-
3
Save the file to a directory of your choosing on your Solaris system. A good location is "/usr/bin." This directory can be typed in your browser download window when asking you where you would like the file to be saved.
-
4
Launch your Solaris console terminal screen and navigate to the directory in which you saved the downloaded JDK file. In this example, if you saved the file "jdk-6u26-solaris-i586.tar.Z" into the directory "/usr/bin," enter the following at the terminal
command prompt:
cd /usr/bin
-
5
Extract the files in the compressed file by entering the following command at the prompt, replacing the file name used here with the actual file name for the file you downloaded:
zcat jdk-6u26-solaris-i586.tar.Z | tar -xf -
Wait for the file to be completely extracted. When it is finished, you will receive a command prompt with a cursor marker indicating you can type further commands.
-
6
Change to superuser mode in the terminal by typing "su" at the command prompt, then pressing the "Enter" key on the keyboard. The next line will require you to enter your administrator password. Enter it, then press the "Enter" key on the keyboard.
-
7
Uninstall any currently installed version of Java by removing the package as follows:
pkgrm SUNWj6rtx SUNWj6dvx SUNWj6dmx
-
8
Install the new JDK 1.6 version by typing the following at the command prompt:
pkgadd -d . SUNWj6rtx SUNWj6dvx SUNWj6dmx
Wait for the package to become fully installed, at which time the command prompt will reappear waiting for additional commands to be entered.
-
9
Delete the downloaded compressed file to free up system space on your hard drive. Enter the following at the command prompt while still within the directory where it is located: "
rm jdk-6u26-solaris-i586.tar.Z
Replace the file name with the actual name of the file you are deleting.
Tips & Warnings
分享到:
相关推荐
mac for jdk1.6 jdk6 安装版 里面有两个jdk1.6的安装包,都可以用 如果电脑上安装有1.7,1.8等高版本jdk就不要再下安装包了,安装包安装会报错 命令是这个:brew install java6或 brew install homebrew/cask-...
aspose-words-15.8.0-jdk1.6aspose-words-15.8.0-jdk1.6aspose-words-15.8.0-jdk1.6aspose-words-15.8.0-jdk1.6aspose-words-15.8.0-jdk1.6aspose-words-15.8.0-jdk1.6aspose-words-15.8.0-jdk1.6aspose-words-...
1.okhttp3.8源码使用jdk1.6重新编译,已集成了okio,在javaweb项目中使用,未在安卓项目中使用 2.okhttp3.8源码使用jdk1.6重新编译_okhttp3.8.0-jdk1.6.jar
JDK 1.6 JDK 1.6 JDK 1.6 JDK 1.6 JDK 1.6 winxp专用 winxp专用winxp专用winxp专用winxp专用winxp专用
JDK 1.6 绿色版,我想很多人可能都需要,这是分卷4,剩下的分卷地址如下: JDK 1.6 绿色版 2 http://download.csdn.net/source/1502201 JDK 1.6 绿色版 3 http://download.csdn.net/source/1502209 JDK 1.6 绿色版...
IBM JDK1.6 安装版
JDK1.6API。java1.6开发文档,最新官网文档。满足java开发需求
当需要一键安装JDK1.6时,可使用本工具,经测试,100%好用。 注意点: 1、如果一台电脑上没有安装过jdk,则执行本目录中的installjdk.bat 将安装目录中的jdk-6u43-windows-i586.exe这个文件。 如果已经安装过JDK,...
jdk1.6 源码
解决JDK1.6下的sun的Base64不可用情况。
java 官方原版 jdk 1.6
jdk1.6jar jdk1.6.0_39.zip
适合okhttp,okio JDK1.6:okhttp3.8.0-jdk1.6.jar JDK1.6+:okhttp-3.12.13.jar;okio-1.15.0.jar 适用于Java开发环境、使用OkHttp调用
Windows JDK 1.6 安装包,解压后直接双击安装,简单易用。 下面是Oracle官网对 Java 的介绍:Oracle Java is the #1 programming language and development platform. It reduces costs, shortens development time...
JDK1.6百度云下载,里面有qq号,要是链接失效了,可以找我
linux 64位IBM JDK1.6
ZxingUtil生成二维码适用JDK1.6及以下,自己使用JDK1.6,生成的二维码为彩色
jdk1.6windows-x64直接解压及用,绿色无毒,人工亲测,放心使用
支持JDK1.6,并且仅在1.6版本中使用,将URL生成二维码。压缩包内包括源码,是在zxing-zxing-3.3.0基础上做的适配,以支持jdk1.6。