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


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to