分类
Windows

WIN7配置jdk

配置环境变量

  1. 安装好后,直接右击【我的电脑】–【属性】,在弹出的对话框中选择【高级系统设置】
    wpid-c48f3c05ea1841979db2ddaaa929bd45_6609c93d70cf3bc73733e052d100baa1cd112a581.jpg
  2. 在弹出的对话框中选择【高级】选项卡下的【环境变量】
    wpid-c48f3c05ea1841979db2ddaaa929bd45_b2de9c82d158ccbf00ccbd9f19d8bc3eb13541261.jpg

分类
Linux

openSUSE 12.3安装sun jdk 1.6.0_45

openSUSE 12.3自带的是openjdk 1.7.0,而我们需要的是sun jdk,搜索了一下网上的文章,多数都是抄袭,都没有验证过。接下来,主要是安装的步骤。

1.下载sun jdk

这步就不用我说了吧,去sun官方下载rpm.bin包,按自己的架构选择(X86,X86_64)。

2.安装sun jdk

chmod a+x jdk-6u45-linux-x64-rpm.bin  
zypper in jdk-6u45-linux-x64-rpm.bin  
分类
Linux

Install Sun/Oracle Java JDK/JRE 6u29 on Fedora 16/15, CentOS/RHEL 6/5.7(中英对照)

Please note: This guide still working normally if you want install Sun/Oracle Java 6, but if you want latest Java 7 version, then check Howto Install Sun/Oracle Java JDK/JRE 7 on Fedora 16/15, CentOS 6/5.7 and Red Hat (RHEL) 6.1/6/5.7.

By default, Fedora 16/15/14/13/12 and CentOS/Red Hat (RHEL) 6/5.7 Linux operating systems use the OpenJDK Java, which is a good choice for normal use and it works with almost all the Java programs normally. OpenJDK is also easy to install and maintain with YUM package management, but some cases, Sun/Oracle Java installation is necessary, for example, if some program have to compile with Sun/Oracle Java or a particular program does not work without Sun/Oracle Java.

默认情况下,Fedora 16/15/14/13/12和CentOS/RHEL 6/5.7Linux操作系统使用OpenJDK Java,对于普通应用情况,这个就可以,它能执行绝大多数java程序。通过YUM包管理机制,它可以方便的安装和维护,但是在一些情况下,Sun/Oracle Java却是必需的,例如,一些程序是使用Sun/Oracle Java编译的,或者,某个特别的程序依赖Sun/Oracle Java.