fix issue for destroy application from cli. also make sure application
name do not contain under score.
bump up version
update simple java example