How to check the Java JVM Options

Leo Gutiérrez
4 min readMay 6, 2024

As Java developers, we often need to check what flags & properties are being used by our JVM, in this quick post I will show you the different ways to get this information using the JDK commands.

What options are available to my JVM?

First of all, there are a lot of options, and they vary from platform to platform. Let’s see what options or flags are available to our specific JVM (some options and values could be different on different platforms), you can see the full list with the following two commands:

--

--

Leo Gutiérrez

Hi! I am Leonardo Gutiérrez R., a passionate software developer, I hope you find the content in this blog interesting. I write about IT related stuff.