Add scala version and java version.