Package: openjdk-6-jre-headless Version: 6b14-1~exp1 Severity: serious
According to Debian Java Policy[0], /usr/lib/jni *must* be in the default library path, but it isn't: lakeview ok % java -cp /usr/share/java/unix.jar cx.ath.matthew.unix.testserver Exception in thread "main" java.lang.UnsatisfiedLinkError: no unix-java in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1698) at java.lang.Runtime.loadLibrary0(Runtime.java:840) at java.lang.System.loadLibrary(System.java:1047) at cx.ath.matthew.unix.UnixServerSocket.<clinit>(UnixServerSocket.java:29) at cx.ath.matthew.unix.testserver.main(testserver.java:33)lakeview ok % ls /usr/lib/jni libunix-java.so
The testcase in question is from libunixsocket-java; running with -Djava.library.path=/usr/lib/jni makes it work. There is a corresponding bug on sun-java5-jre. [0] http://www.debian.org/doc/packaging-manuals/java-policy/c36.html#policy-vm -- System Information: Debian Release: 5.0 APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.28-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages openjdk-6-jre-headless depends on: ii ca-certificates-java 20081028 Common CA certificates (JKS keysto ii dpkg 1.14.25 Debian package management system ii java-common 0.31 Base of all Java packages ii libaccess-bridge-java 1.23.0-3 Java Access Bridge for GNOME ii libc6 2.9-3 GNU C Library: Shared librariesii libcups2 1.3.9-14 Common UNIX Printing System(tm) - ii libfreetype6 2.3.7-2 FreeType 2 font engine, shared lib
ii libgcc1 1:4.3.3-4 GCC support library ii liblcms1 1.17.dfsg-1 Color management library ii openjdk-6-jre-lib 6b14-1~exp1 OpenJDK Java runtime (architecture ii rhino 1.7R1-2 JavaScript engine written in Java ii tzdata-java 2009b-1 time zone and daylight-saving time ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime openjdk-6-jre-headless recommends no packages. Versions of packages openjdk-6-jre-headless suggests:ii libnss-mdns 0.10-3 NSS module for Multicast DNS name pn sun-java6-fonts <none> (no description available)
ii ttf-arphic-uming 0.2.20080216.1-3 "AR PL UMing" Chinese Unicode True ii ttf-baekmuk 2.2-2 Baekmuk series TrueType fonts ii ttf-dejavu-core 2.28-2 Vera font family derivate with add ii ttf-indic-fonts 1:0.5.4 Metapackage for free Indian langua ii ttf-kochi-mincho 20030809-1 Kochi Subst Mincho Japanese TrueTyii ttf-sazanami-gothic 20040629-2 Sazanami Gothic Japanese TrueType ii ttf-sazanami-mincho 20040629-2 Sazanami Mincho Japanese TrueType
-- no debconf information -- brian m. carlson / brian with sandals: Houston, Texas, US +1 713 440 7475 | http://crustytoothpaste.ath.cx/~bmc | My opinion only troff on top of XML: http://crustytoothpaste.ath.cx/~bmc/code/thwack OpenPGP: RSA v4 4096b 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
signature.asc
Description: Digital signature