JVM Class search order
The search order for J2SDK, using the example code above, is:
-
The bootstrap classpath, which is in the sun.boot.class.path property,
-
The extension directories, which is in the java.ext.dirs property,
-
The default system classpath,
-
The current working directory,
-
The myclasses.zip file that is located in the "root" (/) file system,
-
The classes directory in the Product directory in the "root" (/) file system.
http://java.sun.com/j2se/1.4.2/docs/tooldocs/findingclasses.html
0 comments:
Post a Comment