微科社区,轻松开发从此开始! 请登陆 免费注册

微科社区

当前位置:首页 > .NET技术 > CLR >

CentOS 安装jdk1.7 64位

时间:2015-01-08 05:03  浏览:努力统计中...
[root@localhost ~]# java -version java version 1.6.0 OpenJDK Runtime Environment (build 1.6 . 0 -b09) OpenJDK 64 -Bit Server VM (build 1.6 . 0 -b09, mixed mode) 1.6的,这个必须换掉 。下载jdk-7u3-linux-x64.rpm # wget http://do
[root@localhost ~]# java -version
java version \"1.6.0\"
OpenJDK Runtime Environment (build 1.6.0-b09)
OpenJDK 64-Bit Server VM (build 1.6.0-b09, mixed mode)


1.6的,这个必须换掉 。下载jdk-7u3-linux-x64.rpm

# wget http://download.oracle.com/otn-pub/java/jdk/7u3-b04/jdk-7u3-linux-x64.rpm--2012-02-28 00:13:34--  http://download.oracle.com/otn-pub/java/jdk/7u3-b04/jdk-7u3-linux-x64.rpm正在解析主机 download.oracle.com... 63.97.94.56, 63.97.94.80Connecting to download.oracle.com|63.97.94.56|:80... 已连接。已发出 HTTP 请求,正在等待回应... 200 OK长度:67667318 (65M) [application/x-redhat-package-manager]Saving to: `jdk-7u3-linux-x64.rpm\'65% [===============================================>                          ] 44,088,409  50.1K/s  eta 7m 23s  
顶一下
(0)
0%
踩一下
(1)
100%
------分隔线------