Solaris 10 安装 JDK1.6
来源:互联网 发布:程序员专用桌面壁纸 编辑:程序博客网 时间:2024/06/05 19:01
Step 1 : download the jdk from http://java.sun.com/javase/downloads/index.jsp ,mine is jdk-6u21-solaris-i586.tar.Z
Step 2 : Assume that the jdk is put in folder located /usr/downloads.Go to /usr/downloads.
- unpackage the file #zcat jdk-6u21-solaris-i586.tar.Z | tar -xf -
- install #pkgadd -d . SUNWj6rt SUNWj6dev SUNWj6cfg SUNWj6man SUNWj6dmo
- go to /etc/profile profile is a file,not a folder .open it with gedit and add statements ,please do not forget export the varible you defined.(The CLASSPATH env varible is required for us too)
JAVA_HOME=/usr/jdk/jdk1.6.0_21 (It's defalt for my installation,you can check this folder /usr/jdk with default jdk1.5 which is installed with the OS system installation)
export JAVA_HOME
JRE_HOME=/usr/jdk/jdk1.6.0_21/jre
export JRE_HOME
PATH=$PATH:$ JAVA_HOME/bin :$ JRE_HOME/bin:
export PATH
Step 3 : Restart the server ,check the jdk version by typing java -version in terminal.
Good luck !!
If the version is not JDK1.6 after you check the version.I just could say it's a big pity for you.Ok,now you have a way to make the default jdk version to be 1.6 . Copy the files under /usr/jdk/jdk1.6.0_21 to /usr/java.Make sure all the files under /usr/java are deleted ahead of time.It is sure that the PATH variable is defiend in some file.I am just looking for the answer.......
- Solaris 10 安装 JDK1.6
- solaris jdk1.6安装--红联 linux110
- solaris 10 zone 安装
- PC安装solaris 10
- solaris 10安装mysql5
- solaris 10 安装vmtools
- Solaris 10 oracle11g 安装
- Solaris 10 oracle11g 安装
- solaris 10安装配置
- solaris 10安装分区
- solaris 10安装配置
- jdk1.6-1.5安装
- 安装JDK1.6
- 安装JDK1.6
- ubuntu安装JDK1.6
- ubuntu10 安装jdk1.6
- Linux 安装JDK1.6
- ubuntu --jdk1.6 安装
- 第三章后续翻译【完结】
- 采访Java Collection的作者Joshua Bloch
- 日记0916
- c#读写xml文件
- 如何写一个完美的socket多线程通信程序 ?(持续更新中...)
- Solaris 10 安装 JDK1.6
- DHCP一般配置
- 我的词法分析器
- 密码管理专家代码
- 引用 C#获取当前路径
- jsp笔记之 读取web.xml配置参数
- 复杂事件处理之持续查询语言(continuous query language)
- C#拷贝文件夹及文件
- 李彦宏:有人弄死其他对手 自己也没好结果