Re: [CentOS-docs] Suggestion for "how to" section: easy way to install the JDK?

2010-10-08 Thread Bob Stine
Milos Blazivec wrote:

... I am, in fact, interested in making adjustments to the Wiki 
>page - but sadly not the ones you proposed Bob, since the just won't do 
>the trick.

Hmm.  I ran the executed the bin file, edited /etc/profile so that PATH 
included 
the "bin" directory of the sun jdk directory, added environment variable 
JDK_HOME,  deleted the /usr/bin/java symlink from java -> 
/etc/alternative/java, 
and everything works, or at least well enough for me to run the Eclipse C++ 
IDE, 
which was my goal.  

Maybe adding the jdk was unnecessary for Eclipse to work?

Could you unpack "just won't do", or point to a discussion of the issue?

Thanks.
---
Bob Stine 
b...@waltonstine.net  (703) 217-4784
Rule for living: What Would Clint Eastwood Do?
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs


[CentOS-docs] Suggestion for "how to" section: easy way to install the JDK?

2010-10-08 Thread Bob Stine
I've read website http://wiki.centos.org/HowTos/JavaOnCentOS.  I am a total 
newbie with CentOS, but currently, with update 21 of the Java 6 JDK and CentOS 
5.5, the installing the JDK appears to be simpler:

1. Download the latest *rpm.bin jdk (as of today,jdk-6u21-linux-i586-rpm.bin) 
fromhttp://java.sun.com/javase/downloads/widget/jdk6.jsp

2. chmod +x the downloaded file.
3. su
4. Execute the file.

The main advantage of this procedure is that you do not need to build an RPM. 
---
Bob Stine 
b...@waltonstine.net  (703) 217-4784
Rule for living: What Would Clint Eastwood Do?
___
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs