Java and alternatives

Matthew Saltzman mjs at ces.clemson.edu
Thu Dec 9 00:33:46 UTC 2004


On Wed, 8 Dec 2004, Alexander Dalloz wrote:

> Am Mi, den 08.12.2004 schrieb Matthew Saltzman um 23:49:
>
> > I see that in FC3, Java has been adapted to the alternatives system.  I
> > guess this is for the best, but I'm not quite sure what links have to be
> > set to what in order to use one or the other Java systems.
>
> My Java experience and knowledge is very limited, but I think it is a
> good step to set
>
> http://www.jpackage.org/repos.php

Sounds like reasonable advice, so I grabbed the nosrc RPM for Sun's
j2sdk-1.4.2-6 and the Sun bin file and attempted to build the RPM.

It failed with:

  + pushd
  '/home/mjs/src/rpmbuild/tmp/java-1.4.2-sun-1.4.2.06-1jpp-buildroot/%{_jvmdir}/java-1.4.2-sun-1.4.2.06/jre/lib'
  /home/mjs/src/rpmbuild/tmp/rpm-tmp.1997: line 99: pushd:
  /home/mjs/src/rpmbuild/tmp/java-1.4.2-sun-1.4.2.06-1jpp-buildroot/%{_jvmdir}/java-1.4.2-sun-1.4.2.06/jre/lib:
  No such file or directory
  error: Bad exit status from /home/mjs/src/rpmbuild/tmp/rpm-tmp.1997
  (%install)

I have an RPM build environment in my home directory based on Michael
Fratoni's rpmenvironment script.  The build root is
/home/mjs/src/rpmbuild/.

Has anyone built jpackage Sun RPMs successfully?  Any ideas where to look
for the problem?

-- 
		Matthew Saltzman

Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs




More information about the fedora-list mailing list