Added note on running register subcommand with correct environment

use the -E option to sudo that any settinsg for JAVA_HOME get passed in