码迷,mamicode.com
首页 > 编程语言 > 详细

Java classloader机制测试命令

时间:2017-06-16 19:33:06      阅读:225      评论:0      收藏:0      [点我收藏+]

标签:html   cas   develop   eve   pcl   pat   hello   --   .com   

cd /d E:\Study\Java\ThreadStudy\ThreadStudy\src\

javac HelloLoader.java

java cn/hacker/cas/FindClassOrder


-----------------------------------------------------------------------------------------------------------------------------------------

cd /d E:\Study\Java\ThreadStudy\ThreadStudy\src

javac cn\hacker\cas\FindClassOrder.java

java -Xbootclasspath/a:"%JAVA_HOME%"/jre/lib/rt.jar -classpath E:\Study\Java\ThreadStudy\ThreadStudy\src\ cn/hacker/cas/FindClassOrder


java "%JAVA_HOME%"/jre/lib/rt.jar -Xbootclasspath/a:E:\Study\Java\ThreadStudy\ThreadStudy\src\ cn/hacker/cas/FindClassOrder

 

Java类的热替换:https://www.ibm.com/developerworks/cn/java/j-lo-hotswapcls/index.html

Java classloader机制测试命令

标签:html   cas   develop   eve   pcl   pat   hello   --   .com   

原文地址:http://www.cnblogs.com/SimpleCode/p/7028786.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!