摘要:
Question: Explain Java class loaders? If you have a class in a package, what do you need to do to run it? Explain dynamic class loading?Answer : Class loaders are hierarchical. Classes are introduced into the JVM as they are referenced by name in a class that is already running in the JVM. So, how i 阅读全文
posted @ 2011-09-06 22:04
糖牙
阅读(169)
评论(0)
推荐(0)
摘要:
原文出处:http://blog.chenlb.com/2009/06/java-classloader-architecture.htmljvm classLoader architecture:Bootstrap ClassLoader/启动类加载器 主要负责jdk_home/lib目录下的核心 api 或 -Xbootclasspath 选项指定的jar包装入工作。Extension ClassLoader/扩展类加载器 主要负责jdk_home/lib/ext目录下的jar包或 -Djava.ext.dirs 指定目录下的jar包装入工作。System ClassLoader/系统类加 阅读全文
posted @ 2011-09-06 20:58
糖牙
阅读(233)
评论(0)
推荐(0)

浙公网安备 33010602011771号