Util.java Source code

Java tutorial

Introduction

Here is the source code for Util.java

Source

public class Util {
    public static String[] getJVMInfo() {
        return new String[] { //
                "Virtual Machine Information (JVM)", //
                "JVM Name: " + System.getProperty("java.vm.name"), //
                "JVM installation directory: " + System.getProperty("java.home"), //
                "JVM version: " + System.getProperty("java.vm.version"), //
                "JVM Vendor: " + System.getProperty("java.vm.vendor"), //
                "JVM Info: " + System.getProperty("java.vm.info"), //
        };
    }
}