properly print JVM version

This commit is contained in:
Shay Banon 2013-01-29 20:25:13 +01:00
parent 0568284147
commit f5e55b7cb9
1 changed files with 1 additions and 1 deletions

View File

@ -250,7 +250,7 @@ public class Version implements Serializable {
} }
public static void main(String[] args) { public static void main(String[] args) {
System.out.println("ElasticSearch Version: " + Version.CURRENT + ", JVM: " + JvmInfo.jvmInfo().vmVersion()); System.out.println("ElasticSearch Version: " + Version.CURRENT + ", JVM: " + JvmInfo.jvmInfo().version() + "(" + JvmInfo.jvmInfo().vmVersion() + ")");
} }
@Override @Override