[jetrix-cvs] SF.net SVN: jetrix:[719] jetrix/trunk/src/java/net/jetrix/commands/ VersionCommand.jav
Brought to you by:
smanux
From: <sm...@us...> - 2008-08-06 22:19:14
|
Revision: 719 http://jetrix.svn.sourceforge.net/jetrix/?rev=719&view=rev Author: smanux Date: 2008-08-06 22:19:12 +0000 (Wed, 06 Aug 2008) Log Message: ----------- Changed the /version command to display the Java version instead of the JVM version Modified Paths: -------------- jetrix/trunk/src/java/net/jetrix/commands/VersionCommand.java Modified: jetrix/trunk/src/java/net/jetrix/commands/VersionCommand.java =================================================================== --- jetrix/trunk/src/java/net/jetrix/commands/VersionCommand.java 2008-08-06 22:18:15 UTC (rev 718) +++ jetrix/trunk/src/java/net/jetrix/commands/VersionCommand.java 2008-08-06 22:19:12 UTC (rev 719) @@ -19,7 +19,6 @@ package net.jetrix.commands; -import java.util.*; import net.jetrix.*; import net.jetrix.config.*; import net.jetrix.messages.*; @@ -43,7 +42,7 @@ String version1 = "<darkBlue><b>Jetrix/" + ServerConfig.VERSION + " (build:@build.time@)"; String version2 = "<purple>VM<darkBlue>: " + System.getProperty("java.vm.name") - + " " + System.getProperty("java.vm.version") + + " " + System.getProperty("java.version") + " " + System.getProperty("java.vm.info"); String version3 = "<purple>OS<darkBlue>: " + System.getProperty("os.name") + " " + System.getProperty("os.version") This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |