首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > 编程 >

Java 默许三个ClassLoader的加载路径

2012-12-22 
Java 默认三个ClassLoader的加载路径String bootstrapPath System.getProperty(sun.boot.class.path)

Java 默认三个ClassLoader的加载路径

String bootstrapPath = System.getProperty("sun.boot.class.path");System.out.println("BootStrapClassLoader Path : " + bootstrapPath);String extPath = System.getProperty("java.ext.dirs");System.out.println("ExtClassLoader Path : " + extPath);String appPath = System.getProperty("java.class.path");System.out.println("AppClassLoader Path : " + appPath);

热点排行