← Back to team overview

openjdk team mailing list archive

[Bug 395074] Re: libaccess-bridge-java-jni recommendation pulls X libraries in a -headless install

 

I see. It's far from a complete test, but FWIW I can tell that tomcat6
runs using openjdk-6-jre-headless that doesn't have /usr/share/java
/gnome-java-bridge.jar or the JNI package installed. Given the nature of
what the bridge does, it seems normal that the jre-headless should work
without it. Those requiring the accessibility bridge for Swing GUI
applications should use a full JRE anyway...

IF openjdk-6-jre-headless runs OK without the bridge, the the "fix"
would be to have openjdk-6-jre-headless SUGGEST libaccess-bridge-java.
The full -jre already DEPENDs on it.

-- 
libaccess-bridge-java-jni recommendation pulls X libraries in a -headless install
https://bugs.launchpad.net/bugs/395074
You received this bug notification because you are a member of OpenJDK,
which is subscribed to java-access-bridge in ubuntu.

Status in “java-access-bridge” package in Ubuntu: New

Bug description:
openjdk-6-jre-headless depends on libaccess-bridge-java, which recommends libaccess-bridge-java-jni, which depends on multiple graphical libraries (libglib2.0-0, libgtk2.0-0...)

This ends up pulling 12Mb of extra libraries on a jre-headless install on a server, and jeopardizes the EucalyptusFitOnCdSpec objectives.

A solution could be to have:
* libaccess-bridge-java SUGGEST libaccess-bridge-java-jni
* openjdk-6-jre RECOMMEND libaccess-bridge-java-jni
That way you would get it installed on -jre and not installed on -jre-headless.

I'm not sure it makes sense from a java-access-bridge perspective, though ?



References