Mercurial > hg > truffle
annotate mxtool/ClasspathDump.java @ 17085:841a9f98b97c
Using basename instead of BASH_SOURCE, does not on older versions of bash (Which comes with Solaris 11.0)
author | Stefan Anzinger <stefan.anzinger@oracle.com> |
---|---|
date | Tue, 09 Sep 2014 12:20:19 -0700 |
parents | a6bd486b1b44 |
children |
rev | line source |
---|---|
14914
a6bd486b1b44
Extend JavaConfig bootclasspath detection to detect extdirs and endorseddirs
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
1 public class ClasspathDump { |
a6bd486b1b44
Extend JavaConfig bootclasspath detection to detect extdirs and endorseddirs
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
2 public static void main(String[] args) { |
a6bd486b1b44
Extend JavaConfig bootclasspath detection to detect extdirs and endorseddirs
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
3 System.out.print(System.getProperty("sun.boot.class.path")); |
a6bd486b1b44
Extend JavaConfig bootclasspath detection to detect extdirs and endorseddirs
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
4 System.out.print("|"); |
a6bd486b1b44
Extend JavaConfig bootclasspath detection to detect extdirs and endorseddirs
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
5 System.out.print(System.getProperty("java.ext.dirs")); |
a6bd486b1b44
Extend JavaConfig bootclasspath detection to detect extdirs and endorseddirs
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
6 System.out.print("|"); |
a6bd486b1b44
Extend JavaConfig bootclasspath detection to detect extdirs and endorseddirs
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
7 System.out.print(System.getProperty("java.endorsed.dirs")); |
a6bd486b1b44
Extend JavaConfig bootclasspath detection to detect extdirs and endorseddirs
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
8 } |
a6bd486b1b44
Extend JavaConfig bootclasspath detection to detect extdirs and endorseddirs
Gilles Duboscq <duboscq@ssw.jku.at>
parents:
diff
changeset
|
9 } |