Updated commands to try to see why the menu is not working.
Modified to work with a Java 1.6 environment