Welcome 微信登录

首页 / 操作系统 / Linux / JDK 在Linux系统上安装配置[图文]

JDK 6 Update 7在Linux系统上安装配置Sun发布的JDK/JRE有两种版本,一种是.rpm.bin格式的,另一种则是.bin格式的,可以到这个页面去下载。这里,我下载的是.bin格式的,下载下来以后,文件为jdk-6u7-linux-i586-rpm.bin。安装首先需要解压缩,如图所示:
第一行命令chmod +x jdk-6u7-linux-i586-rpm.bin是为将要进行安装的工具包jdk-6u7-linux-i586-rpm.bin授权;第二行解压缩并执行安装,只要你输入命令./jdk-6u7-linux-i586-rpm.bin,就会显示“Sun Microsystems, Inc. Binary Code License Agreement”,的内容,很长的,一直翻页下去,直到显示Do you agree to the above license terms? [yes or no]这行时,如图所示:
当然要键入yes了,比需要同意上述的协议才能继续安装。接着,就开始解压缩软件包,并执行安装过程,如下所示:Unpacking...
Checksumming...
Extracting...
UnZipSFX 5.50 of 17 February 2002, by Info-ZIP (Zip-Bugs@lists.wku.edu).
inflating: jdk-6u7-linux-i586.rpm 
inflating: sun-javadb-common-10.3.1-4.1.i386.rpm 
inflating: sun-javadb-core-10.3.1-4.1.i386.rpm 
inflating: sun-javadb-client-10.3.1-4.1.i386.rpm 
inflating: sun-javadb-demo-10.3.1-4.1.i386.rpm 
inflating: sun-javadb-docs-10.3.1-4.1.i386.rpm 
inflating: sun-javadb-javadoc-10.3.1-4.1.i386.rpm 
Preparing...                ########################################### [100%]
   1:jdk                    ########################################### [100%]
Unpacking JAR files...
        rt.jar...
        jsse.jar...
        charsets.jar...
        tools.jar...
        localedata.jar...
        plugin.jar...
        javaws.jar...
        deploy.jar...
Installing JavaDB
Preparing...                ########################################### [100%]
   1:sun-javadb-common      ########################################### [ 17%]
   2:sun-javadb-core        ########################################### [ 33%]
   3:sun-javadb-client      ########################################### [ 50%]
   4:sun-javadb-demo        ########################################### [ 67%]
   5:sun-javadb-docs        ########################################### [ 83%]
   6:sun-javadb-javadoc     ########################################### [100%]

Java(TM) SE Development Kit 6 successfully installed.

Product Registration is FREE and includes many benefits:
* Notification of new versions, patches, and updates
* Special offers on Sun products, services and training
* Access to early releases and documentation

Product and system data will be collected. If your configuration
supports a browser, the Sun Product Registration form for 
the JDK will be presented. If you do not register, none of
this information will be saved. You may also register your
JDK later by opening the register.html file (located in 
the JDK installation directory) in a browser.

For more information on what data Registration collects and 
how it is managed and used, see:
http://java.sun.com/javase/registration/JDKRegistrationPrivacy.html

Press Enter to continue.....
  • 1
  • 2
  • 下一页
Putty与WinSCP远程访问LinuxLinux配置开机自启动时要注意的PATH问题相关资讯      JDK  Linux系统 
  • 是否将Linux作为第二系统的七个理  (今 09:15)
  • JDK介绍 && Linux下JDK 环境变量设  (07月03日)
  • Ubuntu 14.04配置JDK1.8.0_25,可  (09/11/2015 09:22:39)
  • JDK、JRE、JVM三者间的关系  (07月12日)
  • Linux 系统是否适合于您?  (09/21/2015 13:09:51)
  • Linux如何查看JDK的安装路径  (08/27/2015 16:12:35)
本文评论 查看全部评论 (0)
表情: 姓名: 字数