adding ubuntu support for init file and java + adding new swarm version 1.9