[CentOS-docs] http://wiki.centos.org/HowTos/JavaRuntimeEnvironment

Thu Aug 18 15:09:23 UTC 2011
Manuel Wolfshant <wolfy at nobugconsulting.ro>

On 08/18/2011 05:52 PM, R P Herrold wrote:
> On Thu, 18 Aug 2011, Manuel Wolfshant wrote:
>
>>> Makes sense, and I would propose that would replace the current content
>>> on http://wiki.centos.org/HowTos/JavaOnCentOS
>> My thoughts exactly !
> I am missing something ... a review of google inlinks
> indicates this page is widely referenced by third party sites.
> Casually blowing this away without preserving at least parts
> seems ill considered change for its own sake
We are not blowing it away. It will remain the land point which will 
further reference JRE and JDK. Although, now that I started to fill in 
the JDK page, I am tempted to join them. But we should discuss that once 
we have more info to play with in the wiki . For now I am trying to 
bring the new JDK page to life ( and refine the JRE one)
> The top part by me remains a general and valid description of
> a method for getting Oracle's / Sun Java running ... not
> perhaps the easiest in light of some later changes, and
> perhaps not the 'ight' solution in light of the growth in
> maturity of openjdk ... but that
The top part written by you is exactly what we'll refine.
The last round of packages from Oracle are quite sane. You download a 
$STUFF.bin, run it and
- it will ask to agree to the license
- expand into a bunch of rpm packages:
jdk-6u27-linux-i586.rpm
sun-javadb-client-10.6.2-1.1.i386.rpm
sun-javadb-common-10.6.2-1.1.i386.rpm
sun-javadb-core-10.6.2-1.1.i386.rpm
sun-javadb-demo-10.6.2-1.1.i386.rpm
sun-javadb-docs-10.6.2-1.1.i386.rpm
sun-javadb-javadoc-10.6.2-1.1.i386.rpm
- install all the packages ( if you have the needed rights)

What is still needed is a clean solution to add that to the alternatives 
system
> The bottom remains a rotting trainwreck needing maintenance
> every time Oracle issues an update ... shocking.  Who could
> have predicted that?

The old method to create several rpms from the tar bundle ( using 
jpackage's nosrc ) is completely obsolete.


<rant mode on> Did I mention that moinmoin's syntax is awful and I 
cannot believe I even thought about using it inside the company I work 
for ? </rant mode off>