Bug#732320: java-package: for jdk provide alternative to bin/java rather than jre/bin/java

Jan Vansteenkiste jan at vstone.eu
Thu Nov 3 12:37:48 UTC 2016


On Mon, 16 Dec 2013 18:26:04 +0100 Niels Thykier <niels at thykier.net> wrote:

> Dear Maintainer,
> when creating a deb package from the JDK there should be a (and probably
> the default one) pointing to bin/java (and all other tools) rather than
> jre/bin/java.
> firstly, a JDK is usually installed to be used as JDK not a JRE (else one
> would use the JRE to begin with). secondly, Eclipse/ANT continually
> complaints about the java exec not being from an JDK, preventing the use
> of the same JRE as Eclipse uses and thus a several features requiring ANT
> to use the same java as Eclipse does.

On the other hand, jre packages do NOT include the path to .../jre/bin/java.

debian-8:/etc/alternatives# update-alternatives --list java
/usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java
/usr/lib/jvm/oracle-java8-jdk-amd64/jre/bin/java
/usr/lib/jvm/oracle-java8-jre-amd64/bin/java
/usr/lib/jvm/oracle-java8-server-jre-amd64/bin/java

I quickly backported 0.62 to jessie to create these.
ii  java-package                   0.62~bpo8+1                
all          Utility for creating Java Debian packages


This also makes automation around these packages difficult.




-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20161103/2d4c6ecf/attachment-0001.sig>


More information about the pkg-java-maintainers mailing list