Adding java version to the startup script