Add -g, --global option flag to switch cmd to handle global parameters vs application parameters.  Set java target to 1.6