安装JDK1.8_181

1
https://repo.huaweicloud.com/java/jdk/8u181-b13/

image-20230402153227718

下载dcevm

1
https://github.com/dcevm/dcevm/releases

image-20230402153337912

安装dcevm

1
(base) xuwei@xuweideMacBook-Pro java8-hotDeployment % sudo java -jar DCEVM-8u181-installer-build2.jar 

image-20230402153614890

下载HotswapAgent

1
https://github.com/HotswapProjects/HotswapAgent/releases

image-20230402153732435

添加启动配置

image-20230402153845343

使用方法

修改代码后重新编译当前类即可生效

image-20230402154003525