openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #06447
[Bug 850433] [NEW] java -jamvm fails to run; couldn't open libjava.so
Public bug reported:
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)
** Affects: openjdk-7 (Ubuntu)
Importance: Undecided
Status: New
** Tags: jamvm
** Tags added: jamvm
--
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 “openjdk-7” package in Ubuntu:
New
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/ubuntu/+source/openjdk-7/+bug/850433/+subscriptions
Follow ups
-
[Bug 850433]
From: Mercurial, 2013-01-28
-
[Bug 850433]
From: Mercurial, 2012-10-04
-
[Bug 850433]
From: Xerxes Rånby, 2012-10-04
-
[Bug 850433]
From: Mercurial, 2012-10-04
-
[Bug 850433] Re: java -jamvm fails to run; couldn't open libjava.so
From: Bug Watch Updater, 2012-10-04
-
[Bug 850433] Re: java -jamvm fails to run; couldn't open libjava.so
From: Launchpad Bug Tracker, 2012-09-11
-
[Bug 850433] Re: java -jamvm fails to run; couldn't open libjava.so
From: Launchpad Bug Tracker, 2012-09-06
-
[Bug 850433] Re: java -jamvm fails to run; couldn't open libjava.so
From: Launchpad Bug Tracker, 2012-09-06
-
[Bug 850433]
From: Xerxes Rånby, 2012-09-06
-
[Bug 850433]
From: Xerxes Rånby, 2012-09-06
-
[Bug 850433]
From: Xerxes Rånby, 2012-09-06
-
[Bug 850433] Re: java -jamvm fails to run; couldn't open libjava.so
From: Matthias Klose, 2012-09-05
-
[Bug 850433] Re: java -jamvm fails to run; couldn't open libjava.so
From: Kate Stewart, 2012-09-05
-
[Bug 850433] Re: java -jamvm fails to run; couldn't open libjava.so
From: Matthias Klose, 2012-09-05
-
[Bug 850433] Re: java -jamvm fails to run; couldn't open libjava.so
From: Launchpad Bug Tracker, 2012-09-05
-
[Bug 850433] Re: java -jamvm fails to run; couldn't open libjava.so
From: Bug Watch Updater, 2012-09-04
-
[Bug 850433] Re: java -jamvm fails to run; couldn't open libjava.so
From: Xerxes Rånby, 2012-09-04
-
[Bug 850433] Re: java -jamvm fails to run; couldn't open libjava.so
From: Xerxes Rånby, 2012-09-04
-
[Bug 850433] Re: java -jamvm fails to run; couldn't open libjava.so
From: Matthias Klose, 2012-09-03
-
[Bug 850433] Re: java -jamvm fails to run; couldn't open libjava.so
From: Xerxes Rånby, 2012-05-16
-
[Bug 850433] Re: java -jamvm fails to run; couldn't open libjava.so
From: Xerxes Rånby, 2012-05-16
-
[Bug 850433] Re: java -jamvm fails to run; couldn't open libjava.so
From: Toby Corkindale, 2012-05-16
-
[Bug 850433] Re: java -jamvm fails to run; couldn't open libjava.so
From: Belden Fox, 2011-10-22
-
[Bug 850433] Re: java -jamvm fails to run; couldn't open libjava.so
From: Launchpad Bug Tracker, 2011-10-22
-
[Bug 850433] [NEW] java -jamvm fails to run; couldn't open libjava.so
From: Xerxes Rånby, 2011-09-14
References