change main class method to use sun.java.command system property