Changing dependencies of default-jre (and default-jre-headles) to use 3rd party java

Asked by Mike Sajak on 2010-02-08

I want to use 3rd party Java (IBM JVM in particular) with Ubuntu Karmic. I prepared proper package of Java VM with 'make-jpkg' and installed it (similarly to instructions described here My problem is that most of java applications in Ubuntu repositories have dependencies on default-jre/default-jre-headless which in turn depends on openjdk6-jre only. Is there a way to change default-jre and default-jre-headless dependencies to other java vm implementation? That would be very helpful because it would allow to almost seamlessly change underlying java vm implementation to any other and still all java apps depending on default-jre (or default-jre-headless) wouldn't tell the difference. Right now when I try to install e.g. JEdit, or maven2 etc. I have to install whole openjdk-6-jre/jdk which unfortunately I don't want to/cannot do.
I would be very grateful for any pointers how to update or add some alternative dependencies in default-jre/default-jre-headless.

Question information

English Edit question
NULL Project Edit question
No assignee Edit question
Solved by:
Mike Sajak
Last query:
Last reply:
Revision history for this message
Mike Sajak (mike-sajak) said :

It's a duplicate of 100322. By mistake I submitted the same question twice.

Revision history for this message
Charles Deboer (igorf7027) said :

Thanks for the update and quick reply. I'll be sure to keep an eye on this thread. Looking for the same issue. Bumped into your thread. Thanks for creating it. Looking forward for solution.