From f5e55b7cb901843a4e1441cb16276e66c3c042f6 Mon Sep 17 00:00:00 2001 From: Shay Banon Date: Tue, 29 Jan 2013 20:25:13 +0100 Subject: [PATCH] properly print JVM version --- src/main/java/org/elasticsearch/Version.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/elasticsearch/Version.java b/src/main/java/org/elasticsearch/Version.java index 85f2f73dff1..5bc86ff9238 100644 --- a/src/main/java/org/elasticsearch/Version.java +++ b/src/main/java/org/elasticsearch/Version.java @@ -250,7 +250,7 @@ public class Version implements Serializable { } 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