Home > centos, Unix > Install jdk6 centos 5

Install jdk6 centos 5

Leave a comment Go to comments


i’m using Java SE Development Kit 6u21 32bit-kernel architecture with rpm package.
jdk-6u21-linux-i586-rpm.bin 75.81 MB


Download needed packages at java.sun.com

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
[root@troll javas]# ./jdk-6u21-linux-i586-rpm.bin 
Unpacking...
Checksumming...
Extracting...
UnZipSFX 5.50 of 17 February 2002, by Info-ZIP (Zip-Bugs@lists.wku.edu).
  inflating: jdk-6u21-linux-i586.rpm  
  inflating: sun-javadb-common-10.5.3-0.2.i386.rpm  
  inflating: sun-javadb-core-10.5.3-0.2.i386.rpm  
  inflating: sun-javadb-client-10.5.3-0.2.i386.rpm  
  inflating: sun-javadb-demo-10.5.3-0.2.i386.rpm  
  inflating: sun-javadb-docs-10.5.3-0.2.i386.rpm  
  inflating: sun-javadb-javadoc-10.5.3-0.2.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.....
 
 
Done.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[root@troll javas]# java [tab tab]
java     javac    javadoc  javaws   
 
[root@troll javas]# java -version
java version "1.6.0_21"
Java(TM) SE Runtime Environment (build 1.6.0_21-b06)
Java HotSpot(TM) Client VM (build 17.0-b16, mixed mode, sharing)
 
[root@troll javas]# javac -version
javac 1.6.0_21
 
[root@troll javas]# javaws -version
Java(TM) Web Start 1.6.0_21 
Usage:	javaws [run-options] <jnlp-file>	
      	javaws [control-options]

apply on CentOS release 5.5 (Final)

Categories: centos, Unix Tags:

  • Similiar Posts

  • Get a Trackback link

    No Comments Yet

    You can be the first to comment!

    Leave a comment