Your message dated Thu, 07 Apr 2016 13:23:52 +0000
with message-id <[email protected]>
and subject line Bug#820097: fixed in imagej 1.50i+dfsg-1
has caused the Debian Bug report #820097,
regarding imagej: No JVM found to run ImageJ
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 [email protected]
immediately.)


-- 
820097: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820097
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: imagej
Version: 1.50d+dfsg-1
Severity: important
Tags: patch

Dear Maintainer,

After installing openjdk-8 alongside openjdk-7 (as part of apt-get 
dist-upgrade), imagej no longer starts with the following error:

  $ imagej
  Open other images in this ImageJ panel as follows:
    imagej -p 1 <image1> [<image2> ... <imageN>]
  
  No JVM found to run ImageJ
  Please apt-get install a JVM to run ImageJ or 
  set JAVA_HOME if it's not a JVM from a Debian Package.

The attached patch resolves the issue for me, though I have not confirmed 
whether it works in the old situation (only openjdk-7 installed).

Please let me know if I can be more useful.

Best wishes,
Kai

-- System Information:
Debian Release: stretch/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.4.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages imagej depends on:
ii  default-jre    2:1.8-57
ii  openjdk-7-jre  7u91-2.6.3-1

imagej recommends no packages.

imagej suggests no packages.

-- no debconf information
--- imagej_old	2016-04-05 13:53:26.108638252 +0100
+++ /usr/bin/imagej	2016-04-05 13:53:01.176246828 +0100
@@ -29,7 +29,7 @@
 
 if [ -z "$JAVA_HOME" ] ; then
     # This does not work see #505315
-    JAVA_HOME=$(/usr/sbin/update-java-alternatives -l | grep openjdk | sort | tail -1 | cut -d' ' -f 3)
+    JAVA_HOME=$(/usr/sbin/update-java-alternatives -l | grep openjdk | sort | tail -1 | tr -s ' ' | cut -d' ' -f 3)
     # Reverted to old version - see #558222 (Andreas Tille)
     # JAVA_HOME=$(dirname $(dirname $(dirname $(readlink /etc/alternatives/java))))
     # Also suggested by From: JR Coding <[email protected]>; To: [email protected]

--- End Message ---
--- Begin Message ---
Source: imagej
Source-Version: 1.50i+dfsg-1

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

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

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

Debian distribution maintenance software
pp.
Andreas Tille <[email protected]> (supplier of updated imagej package)

(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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 07 Apr 2016 14:57:24 +0200
Source: imagej
Binary: imagej
Architecture: source all
Version: 1.50i+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team 
<[email protected]>
Changed-By: Andreas Tille <[email protected]>
Description:
 imagej     - Image processing program inspired by NIH Image
Closes: 820097
Changes:
 imagej (1.50i+dfsg-1) unstable; urgency=medium
 .
   * Moved packaging from SVN to Git
   * Use new uscan options in d/watch
   * Spelling error in debian/README.Debian
   * Remove menu file
   * Fix wrapper script (thanks for the patch to Kai Wohlfahrt
     <[email protected]>)
     Closes: #820097
Checksums-Sha1:
 b2318c6a7b1144ccfc4611a1c83a66358bb9c8ac 1985 imagej_1.50i+dfsg-1.dsc
 752d09aff3ca6312433cd1f66b0ba3acba5348e1 802856 imagej_1.50i+dfsg.orig.tar.xz
 6f72f095d1ffc49a5b671448da07aa3d60de7bac 14188 
imagej_1.50i+dfsg-1.debian.tar.xz
 5e0bf526f32305a5d6be01abe83febf7e2c3a2cd 2014496 imagej_1.50i+dfsg-1_all.deb
Checksums-Sha256:
 30f7ac294c2fda379fd5285e0842a5f8c90f84ec37dfb036bc7b6bf6ddf4ffe9 1985 
imagej_1.50i+dfsg-1.dsc
 a43f8f02fe69bef20a32a1cac76f8b0c46c98257e42a583ff29be3e3cb042b15 802856 
imagej_1.50i+dfsg.orig.tar.xz
 637d7099e89724958a61ad2f48cc41fe499b6fdf3c4e31d6abc9167a1a8c32f3 14188 
imagej_1.50i+dfsg-1.debian.tar.xz
 1c6b3d58ac39b42d20618887a5b15668b2b3ba2feb2433be53f9dcd626c30849 2014496 
imagej_1.50i+dfsg-1_all.deb
Files:
 79b1223b738057e658bd6b559ff400d0 1985 science optional imagej_1.50i+dfsg-1.dsc
 7924852badd6c0b6e9324f83a2ece4ce 802856 science optional 
imagej_1.50i+dfsg.orig.tar.xz
 545413161fb64b519c476741d8e8bd03 14188 science optional 
imagej_1.50i+dfsg-1.debian.tar.xz
 a115e8d59c26b73890e703c0c572086e 2014496 science optional 
imagej_1.50i+dfsg-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJXBlnfAAoJEFeKBJTRxkbRF1EQAIZlvs4Yphdt4hFnNRIzaUPO
u1X64GsX/1eXVWnnVZqaes/v3sRWjwjKaSK0gdY/0V9JIH8j1Imr8RbjyZO7bsTb
EQs2+4GS6QCVRP/o3CFF2kdQbBLFHs5+Pb0ZekFvTMqXQ+KFEMO/qoHr/v54nokF
QVkm5hn6VqecR66NMmqC+viX+hKXZkL2FjzJaa2iqm5nnyT+oUcyvcQ6P0mWyxj5
qWJbLbkcheXLgMI2Jr7rhXOeWOY215X28Vf36X9Cid70gCwz3i3Eadn1oINaXp9z
Y5qUxXKOWGnvq/VsK9XpsgqE0Ox3Hhe6jw/yjifHDpmPd/KgNUet8Li8Olxgyrea
0u/saNI8mjg2+YZDNIY5GARLr/N6UowQMVct2sEUbJ90gDXZnbDzww2bFOVsDZ7g
jMaejM5qdEAb0jboRGKUl5nLCwLQY0AOpbaeliOWQXKgUu8BLY2ITSAxms6sx2J5
VtpMqK78TAG0D8hG3i9Ci6bv1ugsxVg5SX4Do6JHkj37qWU/znWUPOz14CZtF8mu
3FcAYDgOn9cSj8LZXK1ZT6HNOkx5zDOTViIYcQ/vwAA+wvFkBXy6XgdyUISP9qOp
VFsrl5saAsHJSgO5iBowg0LuhoSo1idO+85Bq1x6gv1Mbg/wb3EDSHfKRuL+8m+T
ImpLoLHc7+p4VY+zB4QO
=AoQ/
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to