code: static void setSystemProperty(final String name, final String value)
     {
        AccessController.doPrivileged(new PrivilegedAction<Object>() 
        {
           public Object run()
           {
              System.setProperty(name, value);
              return null;
           }
        });
     }
docs: Set a system property
  @param name The property name
  @param value The property value