Re: Default Java version for jar file in Debian

2016-08-24 Thread Thorsten Glaser
On Wed, 24 Aug 2016, Olivier Sallou wrote: > But why 1.5 ? we should target , when possible (if not depends on JDK > >= 1.8), the minimal Java version available in Debian (1.7 ?). The minimal Java version available in Debian is 1.5 (gcj). bye, //mirabilos -- tarent solutions GmbH Rochusstraße

Re: Default Java version for jar file in Debian

2016-08-24 Thread Emmanuel Bourg
Also, from a reproducibility point of view it would be wrong to use a different target level on different architectures for a jar included in an arch all package. This is not the case for libgdcm-java since it's arch any, but it should probably be changed to arch all. Emmanuel Bourg

Re: Default Java version for jar file in Debian

2016-08-24 Thread Emmanuel Bourg
On 08/24/2016 07:59 AM, Mathieu Malaterre wrote: > Could someone please confirm that all jar files should be compiled > with source and target version number set to 1.5 ? > > I am starring at the following: > > https://anonscm.debian.org/cgit/debian-med/gdcm.git/commit/?id=673e34b58867471a90e2fd

Re: Default Java version for jar file in Debian

2016-08-24 Thread Olivier Sallou
On 08/24/2016 10:18 AM, Ioan Eugen Stan wrote: > Hello, > > > > I don't think that is possible since you can't build Java 8 code to > target a lower JVM. You probably could if you used only those API's, but > I believe you can't make that kind of assumption for all libraries. certainly not all ja

Re: Default Java version for jar file in Debian

2016-08-24 Thread Ioan Eugen Stan
Hello, I don't think that is possible since you can't build Java 8 code to target a lower JVM. You probably could if you used only those API's, but I believe you can't make that kind of assumption for all libraries. I think this link might be more helpfull: http://www.oracle.com/technetwork/ja

Default Java version for jar file in Debian

2016-08-23 Thread Mathieu Malaterre
[CC me please] Hi there, Could someone please confirm that all jar files should be compiled with source and target version number set to 1.5 ? I am starring at the following: https://anonscm.debian.org/cgit/debian-med/gdcm.git/commit/?id=673e34b58867471a90e2fd70b30d442ecd16f505 and I believe t