Added Java version for compiling from CLI.