import java.io.*;
class JVMFlight{
public static void main(String bag[]){
System.out.println("--start--");
StringWriter stringBuffer = new StringWriter();
PrintWriter out = new PrintWriter(stringBuffer);
out.println();
out.println();
out.println(" java.home: " + System.getProperty("java.home"));
out.println(" java.vendor: " + System.getProperty("java.vendor"));
out.println(" java.version: " + System.getProperty("java.version"));
out.println(" java.vm.name: " + System.getProperty("java.vm.name"));
out.println(" java.vm.version: " + System.getProperty("java.vm.version"));
out.println(" os.name: " + System.getProperty("os.name"));
out.println(" os.arch: " + System.getProperty("os.arch"));
out.println(" os.version: " + System.getProperty("os.version"));
out.println("");
System.out.println(stringBuffer.toString());
System.out.println("--end--");
}
}
class JVMFlight{
public static void main(String bag[]){
System.out.println("--start--");
StringWriter stringBuffer = new StringWriter();
PrintWriter out = new PrintWriter(stringBuffer);
out.println();
out.println();
out.println(" java.home: " + System.getProperty("java.home"));
out.println(" java.vendor: " + System.getProperty("java.vendor"));
out.println(" java.version: " + System.getProperty("java.version"));
out.println(" java.vm.name: " + System.getProperty("java.vm.name"));
out.println(" java.vm.version: " + System.getProperty("java.vm.version"));
out.println(" os.name: " + System.getProperty("os.name"));
out.println(" os.arch: " + System.getProperty("os.arch"));
out.println(" os.version: " + System.getProperty("os.version"));
out.println("");
System.out.println(stringBuffer.toString());
System.out.println("--end--");
}
}
No comments:
Post a Comment