[CentOS-docs] HowTos/JavaOnCentOS Wiki page revision?

Sun Jan 16 12:30:55 UTC 2011
Jasper Siepkes <jasper at siepkes.nl>

Hi All,

First of all thanks for taking the time to write a clear howto. 

I'm a Java developer and have boxes running CentOS with Java so I
thought it might come in handy to share what I know about Java on

I have never used the Sun provided RPM's. I always used the JPackage
nosrc rpm:
http://www.jpackage.org/browser/rpm.php?jppversion=5.0&id=8526 . I
modified these to accommodate the Java version I needed. The latest
version you can download from JPackage is 1.6.0-14 so I modified it to
fit version 21.

The reason for not using the Sun provided RPM's but those generated by
JPackage is because the Sun RPM's do not adhere to LSB standards (see
http://bugs.sun.com/view_bug.do?bug_id=4680244 ). So that means for
example it doesn't install man pages into /usr/share/man but just throws
everything into one directory. 

I usually create symlinks with 'alternatives' to the following java

* java (main JRE)
* javac (Java compiler)
* javaws (Java Webstart)
* keytool (Java tool to manage key/trust stores)

If anyone is interested I could put up a wiki page outlining the steps
to create RPM's with JPackage ?

Kind regards,


On Sat, 2011-01-15 at 21:39 +0100, Ralph Angenendt wrote:
> Am 14.01.11 19:16, schrieb Milos Blazevic:
> > Hi all,
> > 
> > in respect of the "recent" CentOS forum thread, (found here 
> > https://www.centos.org/modules/newbb/viewtopic.php?viewmode=flat&topic_id=28126&forum=38)
> > I wrote a "Sun/Oracle Java Installation Manual for CentOS 5" - posted on 
> > my Wiki Profile page, http://wiki.centos.org/MilosBlazevic?action=show
> > and would like update the Java Wiki page with this content.
> To me the article looks good, if you can incorporate it into the current
> wiki article (and not just replace that).
> > Of course, for this to happen only after a thorough revision of the 
> > manual by the community. All critics and suggestions are most welcome.
> Okay, I haven't thouroughly reviewed it, but didn't find obvious issues
> while reading it :)
> Regards,
> Ralph
> _______________________________________________
> CentOS-docs mailing list
> CentOS-docs at centos.org
> http://lists.centos.org/mailman/listinfo/centos-docs