mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
added hint in status to upgrade to java 1.8
This commit is contained in:
parent
d52c5b8c4d
commit
bfd4e5f9e5
|
@ -170,6 +170,15 @@
|
|||
</dd>
|
||||
#(/hintCrawlMonitor)#
|
||||
|
||||
#(hintJREVersion)#::
|
||||
<dt class="hintIcon"><img src="env/grafics/idea.png" width="32" height="32" alt="idea"/></dt>
|
||||
<dd class="hint">
|
||||
Your Java version is old. YaCy currently needs Java 1.7 but we want to migrate to Java 1.8 in the future.
|
||||
Migration to 1.8 won't happen until end of 2016, but we want to join code with YaCy's sister project <a href="http://loklak.org">loklak.org</a>
|
||||
and with a possible re-construction of YaCy in the <a href="http://kaskelix.de">kaskelix</a> architecture which will be using Java 1.8
|
||||
</dd>
|
||||
#(/hintJREVersion)#
|
||||
|
||||
#(hintSupport)#::
|
||||
<dt class="hintIcon"><img src="env/grafics/idea.png" width="32" height="32" alt="idea"/></dt>
|
||||
<dd class="hint">If you need professional support, please write to <tt>support@yacy.net</tt><br>For community support, please visit our <a href="http://forum.yacy.de" target="_blank">forum</a>.
|
||||
|
|
|
@ -173,6 +173,10 @@ public class Status
|
|||
prop.put("hintCrawlMonitor", "1");
|
||||
}
|
||||
|
||||
if (!System.getProperty("java.version").startsWith("1.8")) {
|
||||
prop.put("hintJREVersion", "1");
|
||||
}
|
||||
|
||||
if (adminaccess && "intranet|webportal|allip".indexOf(env.getConfig(SwitchboardConstants.NETWORK_NAME, "unspecified")) >= 0) {
|
||||
prop.put("hintSupport", "1");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user