2

I need to run some Tests with the VM-option -noverify.
Now I would like to warn any other developer in this project to set this option, if not already done.

Another possible solution would be, of course, to set this option instead of just warn about it.

Phe0nix
  • 157
  • 4
  • 15

1 Answers1

0

The java.lang.System.getProperties() method determines the current system properties. The current set of system properties for use by the getProperty(String) method is returned as a Properties object.

Run this program

public class ShowSystemProps {

   public static void main(String[] args) {

   // Get the current system properties
   Properties p = System.getProperties();
   p.list(System.out);
  }
} 
Sheetal Mohan Sharma
  • 2,908
  • 1
  • 23
  • 24
  • Sadly, the vm arguments aren't listed in the system properties. @Ravis Comment holds the solution – Phe0nix Feb 18 '16 at 12:25