[CentOS] Java support : is there a native package ?
mailing-lists at hughesjr.com
Wed Nov 9 21:09:43 UTC 2005
On Wed, 2005-11-09 at 14:39 -0600, Les Mikesell wrote:
> On Wed, 2005-11-09 at 14:18, Matt Hyclak wrote:
> > > OK, so you need a .spec file and a couple of lines of script. The point
> > > is that the hard and unnecessary part is finding all the stuff yourself
> > > in the first place. Instead of directions that point to distribution
> > > agnostic and vague directions, why can't we have something that just
> > > installs it for us?
> > Because it's a distribution agnostic process?
> So is every other application we have until someone bundles it
> for the distribution.
You are NOT ALLOWED to bundle it for distribution ... it DOES NOT HAVE a
free license that allows that. If it WERE allowed to be distributed,
then you would be able to install it via yum and it would be part of the
It is a SUN issue that we can't build an easily installable RPM and also
meet their licensing requirement.
It isn't like it would be an earth shattering thing to create a SRPM to
make it happen.
The CentOS project IS mindful of the licenses of the software we
distribute ... it might be a pain in the ass sometimes, but we have to
follow the rules.
> > Directions for CentOS:
> > 1. Create an RPM build tree as per
> > ftp://people.redhat.com/mharris/hacks/rpmbuild-nonroot-1.0.tar.gz
> > 2. Download java-1.5.0-sun-1.5.0.05-1jpp.nosrc.rpm from
> > http://jpackage.org/rpm.php?id=3033
> > 3. rpm -i java-1.5.0-sun-1.5.0.05-1jpp.nosrc.rpm
> > 4. Download JDK 5.0 Update 5 from
> > http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=jdk-1.5.0_05-oth-JPR&SiteId=JSC&TransactionId=noreg
> > 5. Put jdk-1_5_0_05-linux-i586-rpm.bin in your SOURCES directory created in
> > step 1.
> > 6. rpmbuild -ba SPECS/java-1.5.0-sun.spec
> > 7. Install the resulting RPMS, or put them in your local yum repository.
> > I'm not trying to be a jack@$$ here, but I'm really not sure what you want.
> > I laid it out in 7 steps, and I'm not sure you could make it much shorter.
> It could be one step if those instructions were slightly altered
> to become an executable shell script. Having the script run as
> part of an installation or system setup and something that checks
> for updates would make it even nicer. Does the jpackage rpm you mention
> take care of twiddling the symlinks of the alternatives system that
> I have never been able to find documentation about?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: This is a digitally signed message part
More information about the CentOS