Search code examples
javapropertiessystem

Is it possible to see System properties without writing a program?


Is it possible to display/print values of system properties without installing any program.

I am thinking perhaps one of the programs in jre/bin might do it.

Situation is that there is a locked-down system which is reporting strange values for "os.name" and I cannot install a tool to run.


Solution

  • JVisualVM is part of the jdk and can show the system properties of JVMs running on the same machine. If you want to see the values of no particular JVM you can just look at the system properties of JVisualVM’s own JVM.

    With Freehand Circles