MainClass.java Source code

Java tutorial

Introduction

Here is the source code for MainClass.java

Source

/*
 System.getenv("PATH") = C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\nls;....
    
 * */

public class MainClass {

    public static void main(String[] a) throws Exception {
        System.out.println("System.getenv(\"PATH\") = " + System.getenv("PATH"));
    }
}