corrected start class to include logging
tidy up
need java 6 for JavaApplicationStub, not 7