view mxtool/ClasspathDump.java @ 16870:11b22ccafccd

Correctly parse string option values that start with + or -.
author Roland Schatz <roland.schatz@oracle.com>
date Wed, 20 Aug 2014 15:35:27 +0200
parents a6bd486b1b44
children
line wrap: on
line source

public class ClasspathDump {
    public static void main(String[] args) {
        System.out.print(System.getProperty("sun.boot.class.path"));
        System.out.print("|");
        System.out.print(System.getProperty("java.ext.dirs"));
        System.out.print("|");
        System.out.print(System.getProperty("java.endorsed.dirs"));
    }
}