VisualVM for Java 11 in Ubuntu

If, like me you’ve recently moved Java 8 to 11, you might noticed Java VisualVM has gone. It now needs installing separately and annoying still needs Java 8 to run. So on a system with only J11, you’ll need to:


sudo apt-get -y install visualvm
sudo apt-get install openjdk-8-jdk
visualvm --jdkhome "/usr/lib/jvm/java-1.8.0-openjdk-amd64"

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Advertisements
%d bloggers like this: