← Back to team overview

openjdk team mailing list archive

[Bug 850433]

 

details: http://icedtea.classpath.org//hg/icedtea6?cmd=changeset;node=bc8359665940
author: Andrew John Hughes <gnu.andrew@xxxxxxxxxx>
date: Tue Jan 22 13:53:18 2013 +0000

        JamVM PR1155: Do not put version number in libjvm.so SONAME

        2012-09-25  Xerxes Ranby  <xerxes@xxxxxxxxx>

		JamVM
		PR1155: Do not put version number in libjvm.so SONAME
		* NEWS: Updated.
		* Makefile.am
		(JAMVM_VERSION): Updated JamVM to 2012-09-25 revision.
		(JAMVM_SHA256SUM): Updated.

-- 
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:
  Fix Released
Status in “openjdk-7” package in Ubuntu:
  Fix Released
Status in “openjdk-7” source package in Precise:
  Fix Released
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