Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.java > #8967
| Path | csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Markus Koschany <apo@debian.org> |
| Newsgroups | linux.debian.maint.java |
| Subject | Re: Making OpenJDK 7 the default in Wheezy-LTS |
| Date | Tue, 29 Mar 2016 21:00:02 +0200 |
| Message-ID | <ri71U-1Ri-11@gated-at.bofh.it> (permalink) |
| References | <rgiNQ-7cM-3@gated-at.bofh.it> <rh02u-3Q2-19@gated-at.bofh.it> <rhHTQ-ZO-17@gated-at.bofh.it> <rhVWN-2De-3@gated-at.bofh.it> |
| X-Original-To | debian-java@lists.debian.org |
| X-Mailbox-Line | From debian-java-request@lists.debian.org Tue Mar 29 18:59:07 2016 |
| Old-Return-Path | <apo@debian.org> |
| X-Amavis-Spam-Status | No, score=-11.9 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -5 |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.7.0 |
| MIME-Version | 1.0 |
| Content-Type | multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ihnSWTTf6ExL26Ke1nSSBeRLmhUuUDFaJ" |
| X-Sa-Exim-Scanned | No (on richard.fcube.de); SAEximRunCond expanded to false |
| X-Mailing-List | <debian-java@lists.debian.org> archive/latest/19293 |
| List-ID | <debian-java.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-java/> |
| List-Archive | https://lists.debian.org/msgid-search/56FAD05D.1070100@debian.org |
| Approved | robomod@news.nic.it |
| Lines | 105 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Tue, 29 Mar 2016 20:58:37 +0200 |
| X-Original-Message-ID | <56FAD05D.1070100@debian.org> |
| X-Original-References | <56F439E8.4010007@debian.org> <56F6C13E.6090003@debian.org> <56F95654.80806@debian.org> <56FA280F.7030502@apache.org> |
| Xref | csiph.com linux.debian.maint.java:8967 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Am 29.03.2016 um 09:00 schrieb Emmanuel Bourg: > Le 28/03/2016 18:05, Markus Koschany a écrit : > >> Emmanuel, could you outline again what needs to be done to address your >> concerns? As far as dependencies goes this looks sane to me. > > The issue is the init script of Tomcat [1], it uses > /usr/lib/jvm/default-java first if available. The same goes for Jetty. > > Switching the default JRE will affect any application using > /usr/lib/jvm/default-java directly instead of /usr/bin/java. Also if I'm > not mistaken openjdk-6 could get autoremoved by APT and the alternative > then switched to openjdk-7. It seems you picked Tomcat 7 in Jessie but nevermind, although the version in Wheezy [2] looks different it would use default-java as JAVA_HOME too. I don't know why we wrote the find_openjdks() function in the first place.. The admin could also override the init script with /etc/default/tomcat7. I think this case highlights the importance of supporting one and only one Java runtime per release, if we don't want to invest a lot of time in fixing those corner cases. I think we could upload new packages of Tomcat and Jetty that warn the users about the upcoming switch to OpenJDK 7 and recommend to explicitly set JAVA_HOME in /etc/default/tomcat7. I will also document this on https://wiki.debian.org/LTS/Wheezy. I'm not sure about the autoremoval of OpenJDK 6. On my Wheezy system nothing got removed and I had to use update-alternatives manually. > So my suggestion would be to push an update of java-common first with a > NEWS file stating that we'll stop maintaining openjdk-6 in <n> months > and switch the default JRE. This will let enough time to the LTS users > to anticipate the change. I like this suggestion. I will also add NEWS files to Tomcat and Jetty when Wheezy-LTS starts. My current plan is to change default-java two months later. Cheers, Markus > > Emmanuel Bourg > > [1] https://sources.debian.net/src/tomcat7/7.0.56-3/debian/tomcat7.init/#L56 > [2] https://sources.debian.net/src/tomcat7/7.0.28-4%2Bdeb7u2/debian/tomcat7.init/
Back to linux.debian.maint.java | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Making OpenJDK 7 the default in Wheezy-LTS Markus Koschany <apo@debian.org> - 2016-03-24 20:10 +0100
Re: Making OpenJDK 7 the default in Wheezy-LTS tony mancill <tmancill@debian.org> - 2016-03-26 18:20 +0100
Re: Making OpenJDK 7 the default in Wheezy-LTS Markus Koschany <apo@debian.org> - 2016-03-28 18:10 +0200
Re: Making OpenJDK 7 the default in Wheezy-LTS Emmanuel Bourg <ebourg@apache.org> - 2016-03-29 09:10 +0200
Re: Making OpenJDK 7 the default in Wheezy-LTS Markus Koschany <apo@debian.org> - 2016-03-29 21:00 +0200
Re: Making OpenJDK 7 the default in Wheezy-LTS Andrew Haley <aph@redhat.com> - 2016-03-29 13:00 +0200
Re: Making OpenJDK 7 the default in Wheezy-LTS Markus Koschany <apo@debian.org> - 2016-03-29 21:10 +0200
csiph-web