/srv/irclogs.ubuntu.com/2011/01/07/#ubuntu-java.txt

=== doko_ is now known as doko
akoskmhi14:36
akoskmis debian's java policy applies to ubuntu too?14:36
JamesPageakoskm: yes - the divergence between Ubuntu and Debian in terms of Java libraries is minimal;14:46
JamesPageakoskm: so by following the debian java policy most work can be fed back to debian (minimising the diff between parent and child distro)14:47
akoskmJamesPage, thank you14:54
JamesPagenp14:54
akoskmI'm following this link http://wiki.debian.org/Java/Draft what I found on the https://wiki.ubuntu.com/JavaPolicy15:10
akoskmin chapter 2.1 Virtual Machines, 4th paragraph15:10
akoskmIf a virtual machine supports native code, it must include the directory /usr/lib/jni in its search path for these dynamic libraries.15:11
akoskmthis mean that example the sun-jvm or the openjdk one should include this path by default?15:11
akoskmthis means*15:11
JamesPageakoskm: I use this documentation : http://www.debian.org/doc/packaging-manuals/java-policy/16:15
JamesPagewhich says pretty much the same thing.16:15
akoskmyes. I looked it before16:16
JamesPageakoskm: I've not used anything with jni integration requirements on ubuntu.16:22
JamesPageakoskm: in the past on other distros I've added additional directories to the LD_LIBRARY_PATH variable.16:23
JamesPageakoskm: I think that openjdk will look in this location but the sun-jvm does not by default16:31
JamesPageakoskm:  you can add it by specifying the location as a parameter to java/jre -Djava.library.path=/usr/lib/jni16:31
JamesPageakoskm: openjdk had done this since 6b12-0ubuntu6.416:33
JamesPageakoskm: see https://launchpad.net/ubuntu/+source/openjdk-6/+changelog16:34

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!