Skip to content

Commit

Permalink
Java 8
Browse files Browse the repository at this point in the history
  • Loading branch information
PseudoKnight committed Dec 19, 2017
1 parent 1295f10 commit 43b1b9b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 43b1b9b

Please sign in to comment.