Java Version basic