openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #08505
[Bug 850433] Re: java -jamvm fails to run; couldn't open libjava.so
This bug was fixed in the package openjdk-7 - 7u7-2.3.2-1ubuntu1
---------------
openjdk-7 (7u7-2.3.2-1ubuntu1) quantal; urgency=low
* Fix 32bit hotspot build, don't set maximal heap space lower than
minimal heap space for the docs build.
* d/p/sane-library-paths.patch, d/p/ant-diagnostics.diff,
d/p/fix-race-cond-print.diff, d/p/gcc-hotspot-opt-O[02].diff,
d/p/gcc-mtune-generic.diff, d/p/openjdk-6986968.diff: Remove, not used.
* Remove unused shark/llvm-3.0 patches.
* d/p/zero-only-use-floating-point-if-floating-poi.patch: Remove, applied
upstream.
* Don't explicitly build with -march=i586 on i386 architectures.
* Re-apply zero-missing-headers.diff.
* Disable cacao builds, needs update for 7u7.
* For Ubuntu quantal, set priorities for alternatives higher than for
OpenJDK 6.
* Call update-alternatives when the existing priority for the alternative
is lower than the current one.
* Configure with --disable-downloading.
* Pass -avoid-version to libtool to create a JamVM libjvm.so without SONAME
version numbers to match the Hotspot Server/Client libjvm.so. LP: #850433.
* Revert the following change: Move libgnome2-0, libgnomevfs2-0, libgconf2-4
from Depends of JRE package to Recommends (#661465).
The proper fix is to create a -jdk-headless package, or not depending on
these gnome packages at all (e.g. using XDG libraries).
openjdk-7 (7u7-2.3.2-1) experimental; urgency=low
* New upstream IcedTea7 2.3.2 release.
* Security fixes:
- CVE-2012-4681: Reintroduce PackageAccessible checks removed in 6788531.
- S7079902, CVE-2012-1711: Refine CORBA data models.
- S7143606, CVE-2012-1717: File.createTempFile should be improved
for temporary files created by the platform.
- S7143614, CVE-2012-1716: SynthLookAndFeel stability improvement.
- S7143617, CVE-2012-1713: Improve fontmanager layout lookup operations.
- S7143851, CVE-2012-1719: Improve IIOP stub and tie generation in RMIC.
- S7143872, CVE-2012-1718: Improve certificate extension processing.
- S7152811, CVE-2012-1723: Issues in client compiler.
- S7157609, CVE-2012-1724: Issues with loop.
- S7160757, CVE-2012-1725: Problem with hotspot/runtime_classfile.
- S7165628, CVE-2012-1726: Issues with java.lang.invoke.MethodHandles.Lookup.
* Bump version to 7u7 (OpenJDK), 2.3.2 (IcedTea). Closes: #685276.
* d/p/icedtea7-forest-jdk_7104625-XEvent_wrap_logging_calls_with_if.patch,
d/p/hotspot-sparc.diff: Remove, integrated upstream.
* d/p/{deb-multiarch,fix_extra_flags,hotspot-no-werror}.diff:
Add variants for hotspot and zero builds.
* d/p/default-jvm-cfg.diff, d/p/icedtea-4953367.patch,
d/p/icedtea-patch.diff, d/p/icedtea-pretend-memory.diff,
d/p/libpcsclite-dlopen.diff, d/p/nonreparenting-wm.diff:
Update for 2.3.2.
* Remove build support for Ubuntu releases earlier than hardy.
* d/update-shasum.sh: Only update the shasums of the -dfsg tarballs.
* Don't apply shark patches (not built anyway).
openjdk-7 (7~u3-2.1.1-3) unstable; urgency=low
* d/rules: Ensure we don't remove -02 (default) when -03 is disabled
(fix jamvm FTBFS on armhf without -02).
* d/patches/gcc-jdk-opt-O0.diff, d/patches/gcc-jdk-opt-O2.diff,
d/patches/gcc-no-hardening.diff, d/patches/gcc-opt-O2.diff: removed.
openjdk-7 (7~u3-2.1.1-2) unstable; urgency=low
* d/rules: On Debian Wheezy/Sid bump Build-Depends on libnss3-dev
(>= 2:3.13.4) and Depends on libnss3 (>= 2:3.13.4) (ie. with epoch).
(Closes: #679465).
* d/control: Suggests icedtea-7-plugin instead of icedtea6-plugin
(Closes: #680284).
* d/patches/7130140-MouseEvent-systemout.diff: Remove "MEvent. CASE!" from
console output. (Closes: #679036).
* Disable -O3 compile: cause wrong Math.* computations.
(Closes: #679292 and Closes: #678228).
* debian/patches/FreetypeFontScaler_getFontMetricsNative.diff:
Fix "OpenJDK returns the text height greater than font size".
(Closes: #657854)
openjdk-7 (7~u3-2.1.1-1) unstable; urgency=medium
* New upstream release with security fixes (Closes: #677486):
- S7079902, CVE-2012-1711: Refine CORBA data models
- S7110720: Issue with vm config file loadingIssue with
vm config file loading
- S7143606, CVE-2012-1717: File.createTempFile should be improved
for temporary files created by the platform.
- S7143614, CVE-2012-1716: SynthLookAndFeel stability improvement
- S7143617, CVE-2012-1713: Improve fontmanager layout lookup operations
- S7143851, CVE-2012-1719: Improve IIOP stub and tie generation in RMIC
- S7143872, CVE-2012-1718: Improve certificate extension processing
- S7145239: Finetune package definition restriction
- S7152811, CVE-2012-1723: Issues in client compiler
- S7157609, CVE-2012-1724: Issues with loop
- S7160677: missing else in fix for 7152811
- S7160757, CVE-2012-1725: Problem with hotspot/runtime_classfile
- S7165628, CVE-2012-1726: Issues with
java.lang.invoke.MethodHandles.Lookup
* Patches merged upstream:
- debian/patches/arm-thumb-fix.diff
- debian/patches/gcc-4.7.diff
[ James Page ]
* Cherry picked patch from openjdk-6 to fix handling of
ICC profiles (LP: #888123, #888129) (Closes: #676351).
[ Damien Raude-Morvan ]
* Move libgnome2-0, libgnomevfs2-0, libgconf2-4 from Depends of JRE package
to Recommends (Closes: #661465).
* New jni_md_h_JNIEXPORT_visibility.patch to allow JNIEXPORT definition
to work with -fvisibility=hidden. (Closes: #670896).
openjdk-7 (7~u3-2.1.1~pre1-2) unstable; urgency=low
* Don't mark the -demo package as Multi-Arch same. Closes: #670038.
* Build using gcc-4.4 on mips, mipsel.
* Build again with older gcj version on s390 (4.6).
-- Matthias Klose <doko@xxxxxxxxxx> Tue, 04 Sep 2012 12:08:31 +0200
** Changed in: openjdk-7 (Ubuntu Quantal)
Status: In Progress => Fix Released
** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2012-1711
** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2012-1713
** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2012-1716
** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2012-1717
** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2012-1718
** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2012-1719
** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2012-1723
** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2012-1724
** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2012-1725
** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2012-1726
** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2012-4681
--
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-7 in Ubuntu.
https://bugs.launchpad.net/bugs/850433
Title:
java -jamvm fails to run; couldn't open libjava.so
Status in Iced Tea:
Confirmed
Status in “openjdk-7” package in Ubuntu:
Fix Released
Status in “openjdk-7” source package in Precise:
In Progress
Status in “openjdk-7” source package in Quantal:
Fix Released
Bug description:
tested on armel oneiric using testcase:
/usr/lib/jvm/java-7-openjdk-armel/bin/java -jamvm -verbose:jni -version
output:
xranby@ac100-oneiric:~$ /usr/lib/jvm/java-7-openjdk-armel/bin/java -jamvm -verbose:jni -version
[Failed to open library /usr/lib/jvm/java-7-openjdk-armel/jre/lib/arm/libjava.so: libjvm.so: cannot open shared object file: No such file or directory]
Error initialising natives: couldn't open libjava.so: use -verbose:jni for more information
Error initialising VM (initialiseNatives)
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
workaround:
cd /usr/lib/jvm/java-7-openjdk-armel/jre/lib/arm/
sudo ln -s jamvm/libjvm.so .
expected output:
xranby@ac100-oneiric:/usr/lib/jvm/java-7-openjdk-armel/jre/lib/arm$ /usr/lib/jvm/java-7-openjdk-armel/bin/java -jamvm -verbose:jni -version
[Opened native library /usr/lib/jvm/java-7-openjdk-armel/jre/lib/arm/libjava.so]
[Dynamic-linking native method java.lang.Object.registerNatives ... JNI]
...
[Dynamic-linking native method sun.misc.Unsafe.compareAndSwapObject ... internal]
OpenJDK Runtime Environment (IcedTea7 2.0pre) (7~b147-2.0~pre4-1)
JamVM (build 1.6.0-devel, inline-threaded interpreter with stack-caching)
To manage notifications about this bug go to:
https://bugs.launchpad.net/icedtea/+bug/850433/+subscriptions
References