Updated java player template