Your message dated Wed, 19 Jun 2013 21:22:18 +0000
with message-id <>
and subject line Bug#711850: fixed in java-wrappers 0.1.26
has caused the Debian Bug report #711850,
regarding java-wrappers: fails to find jvm from /etc/alternatives
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact

Debian Bug Tracking System
Contact with problems
--- Begin Message ---
Package: java-wrappers
Version: 0.1.25
Severity: important
Tags: patch

I have just installed freemind. I have Oracle Java installed under
/usr/local/app/java-oracle/jdk1.7.0 and correctly mapped into
/etc/alternatives. I'm aware of issues surrounding Oracle Java but it's
required for another application I use. I also have OpenJDK versions 6 and 7
installed but unused.

Running freemind triggers a calls to java-wrappers, which in turn uses jvm-list
to detect an appropriate jvm. Unfortunately this fails because my jvm is not
installed under /usr/lib/jvm so java-wrappers is led to believe there is no
valid jvm installed, and consequently freemind will not start.

Investigating further it appears that there is a line within /usr/lib/java-
wrappers/ that assumes a jvm linked from /etc/alternatives/java is
going to be somewhere under /usr/lib/jvm. The attached patch removes this
dependency assumption.

-- System Information:
Debian Release: 7.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages java-wrappers depends on:
ii  unzip  6.0-8

java-wrappers recommends no packages.

java-wrappers suggests no packages.

-- no debconf information
---	2011-09-14 17:27:08.000000000 +0100
+++	2013-06-10 11:43:05.205951794 +0100
@@ -56,7 +56,7 @@
 __jvm_java2="$__jvm_java5 $__jvm_gcj2"
 # current java alternatives
-__jvm_alt=$(readlink /etc/alternatives/java|sed -n 's/\(\/usr\/lib\/jvm\/[^\/]*\)\/.*/\1/p')
+__jvm_alt=$(readlink /etc/alternatives/java|sed -n 's!\(.*\)/bin/[^/]*$!\1!p')
 # All JVMs
 __jvm_all="$__jvm_default /usr/lib/jvm/*"

--- End Message ---
--- Begin Message ---
Source: java-wrappers
Source-Version: 0.1.26

We believe that the bug you reported is fixed in the latest version of
java-wrappers, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Vincent Fourmond <> (supplier of updated java-wrappers 

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing

Hash: SHA1

Format: 1.8
Date: Wed, 19 Jun 2013 21:50:43 +0200
Source: java-wrappers
Binary: java-wrappers
Architecture: source all
Version: 0.1.26
Distribution: unstable
Urgency: low
Maintainer: Debian Java Maintainers 
Changed-By: Vincent Fourmond <>
 java-wrappers - wrappers for java executables
Closes: 709976 711850
 java-wrappers (0.1.26) unstable; urgency=low
   * Fix run_jar (closes: #709976) (and, yes, it is fixed on a Wednesday,
     though not the one announced initially ;-) ...)
   * Lift the assumption that alternatives live in /usr/lib/jvm (closes:
 8ae072b3b8cb4f7a252d1320469068e01bb95621 1003 java-wrappers_0.1.26.dsc
 c40944d3bd1a6ccd65f1bae08aeb031fa6f2e801 9206 java-wrappers_0.1.26.tar.gz
 610bd65a07e44b83f550e6997e059bf831a416b6 10902 java-wrappers_0.1.26_all.deb
 70ebd8cee1186afea348128b2d1a2f2c7a603784e039d67a359708952d8c85a4 1003 
 b2bb16c61ab244bcd94478bb0b4f21ae897d9fd8e9a09a662878ccdcdc1e9a35 9206 
 74ae6172a5f645290f0d456e451b776257008f40dd646e77da93665449c812c8 10902 
 3e3f95fb92ec148e2ceb9f1289068751 1003 java optional java-wrappers_0.1.26.dsc
 1f157f4b8bdfe60a94a5128076cec617 9206 java optional java-wrappers_0.1.26.tar.gz
 e3c77efd0b02e80953c6449cec44aa8b 10902 java optional 

Version: GnuPG v1.4.12 (GNU/Linux)


--- End Message ---
This is the maintainer address of Debian's Java team
Please use for discussions and questions.

Reply via email to