Skip to main content

Afraid of trying JPackage?

Posted by flozano on August 31, 2006 at 6:56 PM PDT

Most Linux developers and sysadmins I talk to think JPackage is great, once they are introduced to the advantages of not having tons of copies of every jakarta-commons-whatever and having each application automagically use the Java release (or even vendor release) it needs.

But mosf of them are scared of the bootstrapping procedure, except for the few lucy ones that already have a JPackage-compatible JVM as part of their (commercial) distros, or the few ones that are brave enough to try and find their applications already work with GCJ. Rebuilding a RPM package looks like mission impossible to them.

So I created the following shell script, that does everything you need to bootstrap your JPackage environment except for downloading Sun Java. Just save it on the same directory that has the Sun Java tarball and let it run. In the end, you'll have a few packages ready to copy and install on each Linux workstation or server in your network.

For the curious, this script (actually the JPackage RPM spec) generates the following packages:

  • java-1.5.0-sun-1.5.0.07-1jpp.i586.rpm
  • java-1.5.0-sun-alsa-1.5.0.07-1jpp.i586.rpm
  • java-1.5.0-sun-demo-1.5.0.07-1jpp.i586.rpm
  • java-1.5.0-sun-devel-1.5.0.07-1jpp.i586.rpm
  • java-1.5.0-sun-fonts-1.5.0.07-1jpp.i586.rpm
  • java-1.5.0-sun-jdbc-1.5.0.07-1jpp.i586.rpm
  • java-1.5.0-sun-plugin-1.5.0.07-1jpp.i586.rpm
  • java-1.5.0-sun-src-1.5.0.07-1jpp.i586.rpm

You may not be able to install the

Related Topics >>