On Mon, 16 Dec 2013 18:26:04 +0100 Niels Thykier <ni...@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.




Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to