write java version to status page

pull/1/head
Michael Peter Christen 10 years ago
parent 604ccd8072
commit 29f6e9db7a

@ -160,9 +160,9 @@ public class Status
// version information
//final String versionstring = yacyVersion.combined2prettyVersion(sb.getConfig("version","0.1"));
final String versionstring =
yacyBuildProperties.getVersion() + "/" + yacyBuildProperties.getSVNRevision();
final String versionstring = yacyBuildProperties.getVersion() + "/" + yacyBuildProperties.getSVNRevision();
prop.put("versionpp", versionstring);
prop.put("java.version", System.getProperty("java.version"));
// place some more hints
if (adminaccess && sb.getThread(SwitchboardConstants.CRAWLJOB_LOCAL_CRAWL).getJobCount() == 0) {

@ -10,6 +10,7 @@
::
<div>Uptime: #[uptime]#</div>
#(/peerStatistics)#
<div>Java version: #[java.version]#</div>
<div>Processors: #[processors]#</div>
<div>Load: #[load]#</div>
<div>Threads: #[processesCurrentInclDaemon]#/#[processesCurrentOnlyDaemon]#, peak:#[processesPeak]#, total:#[processesTotal]#</div>

Loading…
Cancel
Save