Java classloader机制测试命令
Posted wchen
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Java classloader机制测试命令相关的知识,希望对你有一定的参考价值。
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机制测试命令的主要内容,如果未能解决你的问题,请参考以下文章