Bug#769167: tomcat8: wheezy packages of libtcnative-1 and libapr1 are not functional with Tomcat8

Emmanuel Bourg ebourg at apache.org
Wed Nov 19 16:14:27 UTC 2014


Le 19/11/2014 11:57, Reiner Keller a écrit :

> with tomcat7/java7 I used the Debian "java-package" but because it
> didn't support Sun Oracle8  i switched to the
> http://www.webupd8.org/2014/03/how-to-install-oracle-java-8-in-debian.html
> one to have automatically updated versions...

Ok, note that java-package 0.53 and later supports Java 8, a backport is
available for wheezy.

The Oracle JRE doesn't load the native libraries from the multi arch
paths unlike the OpenJDK packages provided by Debian. In this case you
have to explicitly set the path with the -Djava.library.path parameter.
You can set it in the JAVA_OPTS variable of /etc/default/tomcat8,
something like:

JAVA_OPTS="-Djava.awt.headless=true -Xmx128m
-Djava.library.path=/usr/lib/x86_64-linux-gnu:/usr/lib"

Emmanuel Bourg



More information about the pkg-java-maintainers mailing list