core/cas-server-core-util/src/main/java/org/apereo/cas/util/CasBanner.java
/**
     * Collect environment info with
     * details on the java and os deployment
     * versions.
     *
     * @return environment info
     */
Collect environment info with
details on the java and os deployment
versions.

@return environment info
Collect environment info with details on the java and os deployment versions . @return environment info
private static String collectEnvironmentInfo() {
        final Properties properties = System.getProperties();
        try (Formatter formatter = new Formatter()) {
            formatter.format("CAS Version: %s%n", CasVersion.getVersion());
            formatter.format("Apache Tomcat Version: %s%n", ServerInfo.getServerInfo());
            formatter.format("Build Date/Time: %s%n", CasVersion.getDateTime());
            formatter.format("System Temp Directory: %s%n", FileUtils.getTempDirectoryPath());
            formatter.format("Java Home: %s%n", properties.get("java.home"));
            formatter.format("Java Vendor: %s%n", properties.get("java.vendor"));
            formatter.format("Java Version: %s%n", properties.get("java.version"));
            formatter.format("JCE Installed: %s%n", BooleanUtils.toStringYesNo(isJceInstalled()));
            formatter.format("OS Architecture: %s%n", properties.get("os.arch"));
            formatter.format("OS Name: %s%n", properties.get("os.name"));
            formatter.format("OS Version: %s%n", properties.get("os.version"));
            return formatter.toString();
        }
    }
private static String collectEnvironmentInfo ( ) { final Properties properties = System . getProperties ( ) ; try ( Formatter formatter = new Formatter ( ) ) { formatter . format ( "CAS Version: %s%n" , CasVersion . getVersion ( ) ) ; formatter . format ( "Apache Tomcat Version: %s%n" , ServerInfo . getServerInfo ( ) ) ; formatter . format ( "Build Date/Time: %s%n" , CasVersion . getDateTime ( ) ) ; formatter . format ( "System Temp Directory: %s%n" , FileUtils . getTempDirectoryPath ( ) ) ; formatter . format ( "Java Home: %s%n" , properties . get ( "java.home" ) ) ; formatter . format ( "Java Vendor: %s%n" , properties . get ( "java.vendor" ) ) ; formatter . format ( "Java Version: %s%n" , properties . get ( "java.version" ) ) ; formatter . format ( "JCE Installed: %s%n" , BooleanUtils . toStringYesNo ( isJceInstalled ( ) ) ) ; formatter . format ( "OS Architecture: %s%n" , properties . get ( "os.arch" ) ) ; formatter . format ( "OS Name: %s%n" , properties . get ( "os.name" ) ) ; formatter . format ( "OS Version: %s%n" , properties . get ( "os.version" ) ) ; return formatter . toString ( ) ; } }
Collect environment info with
 details on the java and os deployment
 versions.
Collect environment info with details on the java and os deployment versions .