Mac OS X Default Java Class Path

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Mac OS X Default Java Class Path

Bruce Skelly
So I ran javac with the verbose option, and got the default class  
path.  As you can see everything is in there that you've indicated  
that I would need.

[hidden email] /Users/bjskelly> date;echo $CLASSPATH;javac  
-verbose MyProgram.java;date
Thu Feb  4 16:18:50 PST 2010

[parsing started MyProgram.java]
[parsing completed 38ms]
[search path for source files: [.]]
[search path for class files: [/System/Library/Frameworks/
JavaVM.framework/Versions/1.5.0/Classes/classes.jar, /System/Library/
Frameworks/JavaVM.framework/Versions/1.5.0/Classes/ui.jar,
/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/
laf.jar,
/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/
jsse.jar,
/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/
jce.jar,
/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/
charsets.jar,
/Library/Java/Extensions/NetRexxC.jar,
/Library/Java/Extensions/NetRexxR.jar,
/System/Library/Java/Extensions/AppleScriptEngine.jar,
/System/Library/Java/Extensions/CoreAudio.jar,
/System/Library/Java/Extensions/dns_sd.jar,
/System/Library/Java/Extensions/j3daudio.jar,
/System/Library/Java/Extensions/j3dcore.jar,
/System/Library/Java/Extensions/j3dutils.jar,
/System/Library/Java/Extensions/jai_codec.jar,
/System/Library/Java/Extensions/jai_core.jar,
/System/Library/Java/Extensions/mlibwrapper_jai.jar,
/System/Library/Java/Extensions/MRJToolkit.jar,
/System/Library/Java/Extensions/QTJava.zip,
/System/Library/Java/Extensions/vecmath.jar,
/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/
ext/apple_provider.jar, /System/Library/Frameworks/JavaVM.framework/
Versions/1.5.0/Home/lib/ext/dnsns.jar, /System/Library/Frameworks/
JavaVM.framework/Versions/1.5.0/Home/lib/ext/localedata.jar, /System/
Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/ext/
sunjce_provider.jar, /System/Library/Frameworks/JavaVM.framework/
Versions/1.5.0/Home/lib/ext/sunpkcs11.jar, .]]
[loading /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/
Classes/classes.jar(java/lang/Object.class)]
[loading /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/
Classes/classes.jar(java/lang/String.class)]
[checking MyProgram]
[loading /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/
Classes/classes.jar(java/lang/System.class)]
[loading /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/
Classes/classes.jar(java/io/PrintStream.class)]
[loading /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/
Classes/classes.jar(java/io/FilterOutputStream.class)]
[loading /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/
Classes/classes.jar(java/io/OutputStream.class)]
[wrote MyProgram.class]
[total 294ms]
Thu Feb  4 16:18:50 PST 2010
[hidden email] /Users/bjskelly>