summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrostalf <frostalf@gmail.com>2018-10-20 20:33:03 -0700
committermd_5 <git@md-5.net>2018-10-21 19:51:06 +1100
commit9eb6ba5b5488c0fee43587491b34486a1384763c (patch)
tree7be3afeca5a969f9203cce46dc825f0481792796
parent46b3ba6844f5f86094d42eac455de2c43831a15b (diff)
downloadbuildtools-9eb6ba5b5488c0fee43587491b34486a1384763c.tar
buildtools-9eb6ba5b5488c0fee43587491b34486a1384763c.tar.gz
buildtools-9eb6ba5b5488c0fee43587491b34486a1384763c.tar.lz
buildtools-9eb6ba5b5488c0fee43587491b34486a1384763c.tar.xz
buildtools-9eb6ba5b5488c0fee43587491b34486a1384763c.zip
Added output of which java version is in use.
-rw-r--r--src/main/java/org/spigotmc/builder/Builder.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/org/spigotmc/builder/Builder.java b/src/main/java/org/spigotmc/builder/Builder.java
index a6bb146..7e3883d 100644
--- a/src/main/java/org/spigotmc/builder/Builder.java
+++ b/src/main/java/org/spigotmc/builder/Builder.java
@@ -118,6 +118,7 @@ public class Builder
}
}
System.out.println( "Loading BuildTools version: " + buildVersion + " (#" + buildNumber + ")" );
+ System.out.println( "Java Version: " + JavaVersion.getCurrentVersion() );
OptionParser parser = new OptionParser();
OptionSpec<Void> disableCertFlag = parser.accepts( "disable-certificate-check" );