Permalink
Browse files

Java 8

  • Loading branch information...
PseudoKnight committed Dec 19, 2017
1 parent 1295f10 commit 43b1b9b66e063c5d2260e87608076ca35080e9af
Showing with 4 additions and 4 deletions.
  1. +2 −2 pom.xml
  2. +2 −2 src/main/java/com/laytonsmith/commandhelper/CommandHelperPlugin.java
View
@@ -453,8 +453,8 @@
<version>3.3</version>
<configuration>
<showDeprecation>true</showDeprecation>
<source>1.7</source>
<target>1.7</target>
<source>1.8</source>
<target>1.8</target>
<compilerArgs>
<arg>-XDignore.symbol.file</arg>
</compilerArgs>
@@ -265,8 +265,8 @@ public void run() {
Prefs.SetColors();
CHLog.initialize(CommandHelperFileLocations.getDefault().getConfigDirectory());
Installer.Install(CommandHelperFileLocations.getDefault().getConfigDirectory());
if(new SimpleVersion(System.getProperty("java.version")).lt(new SimpleVersion("1.7"))){
CHLog.GetLogger().w(CHLog.Tags.GENERAL, "You appear to be running a version of Java older than Java 7. You should have plans"
if(new SimpleVersion(System.getProperty("java.version")).lt(new SimpleVersion("1.8"))){
CHLog.GetLogger().w(CHLog.Tags.GENERAL, "You appear to be running a version of Java older than Java 8. You should have plans"
+ " to upgrade at some point, as " + Implementation.GetServerType().getBranding() + " may require it at some point.", Target.UNKNOWN);
}

0 comments on commit 43b1b9b

Please sign in to comment.