oracle.javatools.util
Class JdkIntrospector
java.lang.Object
oracle.javatools.util.JdkIntrospector
public class JdkIntrospector
- extends java.lang.Object
Provides basic information about the J2SE installation that it is run in.
JdkIntrospector
will report the following system properties:
java.version
, java.home
, and sun.boot.class.path
.
The values of the properties are written to standard out. Invokers can thus
capture the properties by creating a new process to invoke JdkIntrospector
and capturing standard out for that process.
Each property is output on its own line. The name of the property is output,
followed by a tab character (0x09
) and then the value of the property.
After all properties have been output, a line consisting of a singl .
character is output indicating the end of the data.
- Since:
- 9.0.2
Method Summary |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VERSION_STRING
public static final java.lang.String VERSION_STRING
- See Also:
- Constant Field Values
CLASSPATH_STRING
public static final java.lang.String CLASSPATH_STRING
- See Also:
- Constant Field Values
HOME_STRING
public static final java.lang.String HOME_STRING
- See Also:
- Constant Field Values
JdkIntrospector
public JdkIntrospector()
main
public static void main(java.lang.String[] args)
Copyright © 1997, 2011, Oracle. All rights reserved.