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
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
|
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"
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"
Available Java environments:
java-7-openjdk (default)
What do the following say?
echo $JAVA_HOME
ls -ahl /usr/lib/jvm/
pacman -Qs java-environment
/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