Add version command, remove extra flags for javac

Signed-off-by: Steven Downer <grinch@outlook.com>