Bug#863337: visualvm: Typos in launcher script - does not start anymore
On Thu, May 25, 2017 at 04:50:56PM +0200, Erich Schubert wrote: > Package: visualvm > Version: 1.3.9-1 > Severity: grave > Justification: renders package unusable > > visualvm does not start anymore with the error: > Unknown option -L-XX:PermSize=32m > Versions of packages visualvm depends on: > ii default-jdk [java7-sdk]2:1.8-58 > ii libnb-platform18-java 8.2+dfsg1-1 > ii libvisualvm-jni1.3.9-1 > ii openjdk-8-jdk [java7-sdk] 8u131-b11-2 > ii openjdk-9-jdk [java7-sdk] 9~b170-2 ^^^ Hello Erich, Just as Chris reported, I am also unable to reproduce this behavior on my stretch or sid systems. I notice that you have openjdk-9-jdk installed. Is it possible that a Java 9 JRE is on your path and being invoked? In any event, I'm tagging this +moreinfo. Please share more information about your configuration when you can. Thank you, tony
Bug#863337: visualvm: Typos in launcher script - does not start anymore
Hey Erich, > visualvm: Typos in launcher script - does not start anymore I can't seem to reproduce this on a fresh stretch or sid chroot. Can you paste your /etc/visualvm/visualvm.conf? Is this an upgrade? My chroots seem to be using OpenJDK if that helps. Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
Bug#863337: visualvm: Typos in launcher script - does not start anymore
Package: visualvm Version: 1.3.9-1 Severity: grave Justification: renders package unusable visualvm does not start anymore with the error: Unknown option -L-XX:PermSize=32m This is caused by a trivial typo in the start script, which supposedly should use -J (like "Java options") instead of -L (two locations): visualvm_default_options="-L-XX:PermSize=32m ${visualvm_default_options}" should likely be visualvm_default_options="-J-XX:PermSize=32m ${visualvm_default_options}" In particular, note that the if statement reads 'if grep -v -- "-J-XX:MaxPermSize"' -- System Information: Debian Release: 9.0 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.11.0-trunk-amd64 (SMP w/4 CPU cores) Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages visualvm depends on: ii default-jdk [java7-sdk]2:1.8-58 ii libnb-platform18-java 8.2+dfsg1-1 ii libvisualvm-jni1.3.9-1 ii openjdk-8-jdk [java7-sdk] 8u131-b11-2 ii openjdk-9-jdk [java7-sdk] 9~b170-2 visualvm recommends no packages. visualvm suggests no packages. -- no debconf information