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 https://help.ubuntu.com/community/JavaInstallation). 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

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

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

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

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.
https://www.tellthebell.app/