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"

Leave a Reply

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

You are commenting using your 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

%d bloggers like this: