Results 1 to 1 of 1
I'm having a hard time installing jdk 1.6 onto my centOS cluster.
I used the HowTo Install Java on CentOS 4 and CentOS 5 with no luck.
When i type:
...
- 01-26-2009 #1Just Joined!
- Join Date
- Jan 2009
- Posts
- 1
NEWB help: CENTOS install java jdk 1.6u11
I'm having a hard time installing jdk 1.6 onto my centOS cluster.
I used the HowTo Install Java on CentOS 4 and CentOS 5 with no luck.
When i type:
# alternatives --config java
There are 2 programs which provide 'java'.
Selection Command
-----------------------------------------------
1 /usr/lib/jvm/jre-1.4.2-sun/bin/java
* +2 /usr/lib/jvm/jre-1.6.0-sun/bin/java
but when i type
java -version
java version "1.4.2"
Java(TM) SE Runtime Environment (build 1.4.2)
Java HotSpot(TM) Client VM (build 11.0-b16, mixed mode, sharing)
why does it not want to make the running version 1.6.
I was having lots of problems installing the version and after a reboot, my rpmbuild/SOURCES was empty as a matter of fact the whole folder became empty. I dont understand why and i am running out of patience on the system. Am i going to have to reinstall the entire OS?
when i tried this line
yum --nogpgcheck localinstall ~/rpmbuild/RPMS/i586/java-1.6.0-sun-1.6.0.11-1jpp.i586.rpm
the computer spit it back not knowing what nogpgcheck is. Am i missing something?
and im not really sure what they mean by put in yum repository. How do i do that?
The 8 files that come out after the rpm build do i "yum --nogpgcheck localinstall (each one)"
if so, when doing that one of them wouldnt allow me too.
and before you ask, yes i did use a differnt user to rpmbuild, and i set up my environment as specified. I really need help! some one please?


Reply With Quote