Re: Trouble downgrading to OpenJdk 7 on Debian 9

2018-08-17 Thread Emmanuel Bourg
Hi David, You have to: 1. Install the Oracle JDK, using java-package 2. Set the JAVA_HOME variable in /etc/default/tomcat8. The Java alternative is not used by Tomcat, it uses the most recent JDK available unless JAVA_HOME is set. Emmanuel Bourg On 17/08/2018 02:45, David P wrote: > We need to r

Re: Trouble downgrading to OpenJdk 7 on Debian 9

2018-08-16 Thread Thorsten Glaser
Hi David, > As a workaround, I'll run this Tomcat on a dedicated Ubuntu 16-04 server > until we can transition off this .war code entirely. That (or rather, running a Debian 8 oldstable one ☺) is probably the safest option, and good luck being able to transition away. Unsupported third-party cod

Re: Trouble downgrading to OpenJdk 7 on Debian 9

2018-08-16 Thread David P
Thanks for confirming that I didn't overlook something easy, Torsten. The .war files we run in Tomcat7 use 3rd party code that is no longer supported and which behaves unpredictably on Java 8. As a workaround, I'll run this Tomcat on a dedicated Ubuntu 16-04 server until we can transition off thi

Re: Trouble downgrading to OpenJdk 7 on Debian 9

2018-08-16 Thread Thorsten Glaser
Hi David, > We need to run Tomcat7 on JRE7 on Debian 9. Debian is not, like other distros, a software museum ;-) You can run Tomcat 8 on JRE 8 on Debian 9. Anything older would require Debian 8 “jessie” which is out of regular security support. In our experience, what works on Java 7 works on J

Trouble downgrading to OpenJdk 7 on Debian 9

2018-08-16 Thread David P
We need to run Tomcat7 on JRE7 on Debian 9. The Debian Java FAQ doesn't explain how to do this at https://www.debian.org/doc/manuals/debian-java-faq/ch3.en.html nor at https://www.debian.org/doc/manuals/debian-java-faq/ch8.en.html In particular, after " sudo apt-get update", "update-java-alterna