MaxMu
September 6, 2021, 3:43pm
1
I have a laptop that I did not use for Java development until now. The OS is Leap 15.2 it has installed java-11-openjdk.
I tried to start the jconsole, but I could not find it anywhere. It is not even available as a separate package. Same for Java Mission Control. Among the packages in Yast there are no Java other monitoring tools. I could download the visualvm as a standalone application, but it does not see java 11 processes.
As it is this machine is useless for developement where can I find at least the Jconsole or an alternative?
MaxMu
September 6, 2021, 3:56pm
2
larryr
September 6, 2021, 4:26pm
3
Well, I have jconsole on my 15.3 - I have the same repos except for 15.3
Here is what I have installed with java - you need to install the pattern in the list
llrainey@VM1:~> whereis jconsole
jconsole: /usr/bin/jconsole /usr/share/man/man1/jconsole.1.gz
llrainey@VM1:~> zypper se -si java
Loading repository data...
Reading installed packages...
S | Name | Type | Version | Arch | Repository
---+--------------------------------+---------+---------------------+--------+-------------------------------------------------------------
i | antlr-java | package | 2.7.7-16.63 | noarch | openSUSE-Leap-15.3-Oss
i+ | devel_java | pattern | 20170319-lp153.1.14 | x86_64 | openSUSE-Leap-15.3-Oss
i | java-11-openjdk | package | 11.0.12.0-3.59.1 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15
i | java-11-openjdk-devel | package | 11.0.12.0-3.59.1 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15
i | java-11-openjdk-headless | package | 11.0.12.0-3.59.1 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15
i+ | java-1_8_0-openjdk | package | 1.8.0.302-3.55.2 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15
i+ | java-1_8_0-openjdk-headless | package | 1.8.0.302-3.55.2 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15
i | javapackages-filesystem | package | 5.3.0-1.36 | x86_64 | openSUSE-Leap-15.3-Oss
i | javapackages-tools | package | 5.3.0-1.36 | x86_64 | openSUSE-Leap-15.3-Oss
i | libjavascriptcoregtk-4_0-18 | package | 2.32.3-9.1 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15
i+ | patterns-devel-java-devel_java | package | 20170319-lp153.1.14 | x86_64 | openSUSE-Leap-15.3-Oss
i | timezone-java | package | 2021a-3.47.1 | noarch | Update repository with updates from SUSE Linux Enterprise 15
llrainey@VM1:~>
It’s a licensing issue – <https://en.opensuse.org/SDB:Installing_Java> .
You’ll have to install the tools manually direct from the Oracle repositories …
MaxMu
September 6, 2021, 4:50pm
5
larryr:
Well, I have jconsole on my 15.3 - I have the same repos except for 15.3
Here is what I have installed with java - you need to install the pattern in the list
Thank you. It was in the **devel **package. I didn’t install it before because I thought it referred to some specific OpenSUSE development. Instead it contains the Java development tools.
MaxMu
September 6, 2021, 5:05pm
6
I think that that page refers to the Oracle JVM/JDK, for what I am doing the OpenJDK is enough.
But, “java-11-openjdk-devel ” provides neither “Java Mission Control ” (JMC) nor, “Java Flight Recorder ” (JFR) – please check the OpenJDK site – <http://openjdk.java.net/projects/jmc/> ; – <http://openjdk.java.net/jeps/328> .