Added Java Version and updated script