[Tfug] sun java + apt-get tomcat?
Nathan Hruby
nhruby at gmail.com
Wed Nov 2 13:06:40 MST 2011
Hi,
In the Red Hat / RPM world there's a project called "jpackage" [1]
that has a "sun-jdk nosrc" package [2] that will take the binary
installer from Sun, and turn it into a sensibly packaged set of RPMs
(that's parallel installable, even!). Have you checked around to see
if such a thing exists for Ubuntu?
HTH,
-n
1 - http://www.jpackage.org/
2 - http://www.jpackage.org/browser/rpm.php?jppversion=5.0&id=8526
On Wed, Nov 2, 2011 at 12:46 PM, Ammon Lauritzen <allaryin at gmail.com> wrote:
> Howdy. I've got a puzzle that's starting to get on my nerves ;)
> Current builds of Ubuntu no longer provide sun-java6 packages (yay licensing
> garbage).
> I am deploying tomcat servers via Ubuntu and have to target Sun Java (can't
> run OpenJDK in production).
> This wouldn't be much of a problem as I can just download the binary from
> Oracle and run alternatives to manage symlinks just fine. I can run java
> applications with an up-to-date jre without any problems. However,
> alternatives does not do enough. Ie, dpkg doesn't recognize the existence of
> /usr/bin/java as the same thing as java-common being installed.
> So... once I install java manually, I can't use apt-get to install tomcat.
> My options appear to be:
> 1 - Continue using older java packages until Ubuntu removes them from the
> archive (and acknowledge that I'm running old libraries in production).
> 2 - Give up on apt-get entirely and manage tomcat by hand as well.
> 3 - Fake it.
>
> I've never done much voodoo with package management. It appears that there
> is an old equivs package that creates fake debs for this sort of case, but
> the documentation is remarkably unhelpful.
> Any suggestions?
> --
> Ammon Lauritzen
>
> _______________________________________________
> Tucson Free Unix Group - tfug at tfug.org
> Subscription Options:
> http://www.tfug.org/mailman/listinfo/tfug_tfug.org
>
>
--
-------------------------------------------
nathan hruby <nhruby at gmail.com>
metaphysically wrinkle-free
-------------------------------------------
More information about the tfug
mailing list