Specifying jdk version in the pom.xml
Making startup script more robust by making it directory agnostic.