GetVersion.java Source code

Java tutorial

Introduction

Here is the source code for GetVersion.java

Source

public class GetVersion {
    public static void main(String[] args) {
        System.out.println(System.getProperty("java.specification.version"));
        System.out.println("System.getenv(\"PATH\") = " + System.getenv("PATH"));
    }
}