Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#41917 - [visualvm] does not find the JDK and can not start

Attached to Project: Arch Linux
Opened by Robert Hollencamp (rhollencamp) - Wednesday, 10 September 2014, 18:19 GMT
Last edited by Guillaume ALAUX (galaux) - Wednesday, 24 September 2014, 18:10 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Guillaume ALAUX (galaux)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Attempting to run VisualVM from the .desktop file or command line results in an error message stating 'You are running VisualVM using Java Runtime Environment (JRE). Please use Java Development Kit (JDK) to run VisualVM.'

running VisualVM from the command line and specifying the path to the JDK works (visualvm --jdkhome /usr/lib/jvm/java-7-openjdk)
This task depends upon

Closed by  Guillaume ALAUX (galaux)
Wednesday, 24 September 2014, 18:10 GMT
Reason for closing:  Not a bug
Additional comments about closing:  "hmm, I can no longer reproduce this issue"
Comment by Doug Newgard (Scimmia) - Monday, 15 September 2014, 02:25 GMT
What is the output of `archlinux-java status`?
Comment by Robert Hollencamp (rhollencamp) - Monday, 15 September 2014, 02:26 GMT
$ archlinux-java status
Available Java environments:
java-7-openjdk (default)
Comment by Guillaume ALAUX (galaux) - Monday, 15 September 2014, 11:16 GMT
I get this message when I uninstall jdk7-openjdk or when I only set "jre-7-openjdk/jre" as default.

What do the following say?
echo $JAVA_HOME
ls -ahl /usr/lib/jvm/
pacman -Qs java-environment
Comment by Guillaume ALAUX (galaux) - Saturday, 20 September 2014, 13:29 GMT
Bump
Comment by Robert Hollencamp (rhollencamp) - Wednesday, 24 September 2014, 18:02 GMT
[rhollencamp@dogfort ~]$ echo $JAVA_HOME
/usr/lib/jvm/default
[rhollencamp@dogfort ~]$ ls -ahl /usr/lib/jvm/
total 124K
drwxr-xr-x 3 root root 4.0K Sep 10 08:56 .
drwxr-xr-x 219 root root 112K Sep 24 13:59 ..
lrwxrwxrwx 1 root root 14 Sep 10 08:56 default -> java-7-openjdk
lrwxrwxrwx 1 root root 18 Sep 10 08:56 default-runtime -> java-7-openjdk/jre
drwxr-xr-x 6 root root 4.0K Sep 10 08:56 java-7-openjdk
[rhollencamp@dogfort ~]$ pacman -Qs java-environment
local/jdk7-openjdk 7.u65_2.5.2-2
OpenJDK Java 7 development kit
Comment by Robert Hollencamp (rhollencamp) - Wednesday, 24 September 2014, 18:05 GMT
hmm, I can no longer reproduce this issue

Loading...