Step 1:进入网址http://hg.openjdk.java.net/code-tools/asmtools下载asmtools

asmtools.jar包制作

Step 2:下载Ant

http://ant.apache.org/

asmtools.jar包制作

asmtools.jar包制作

Step 3:配置Ant环境变量

  • ANT_HOME    C:/ apache-ant-1.10.1
  • PATH               C:/ apache-ant-1.10.1/bin
  • CLASSPATH   C:/apache-ant-1.10.1/lib

asmtools.jar包制作

Step 4:环境变量验证

asmtools.jar包制作

Step 5:确保当前主机中JDK版本为1.8或者更高版本

asmtools.jar包制作

Step 6:之后在asmtools中的build目录中找到build.xml文件

asmtools.jar包制作

在命令行中输入ant jar(这里的jar命令是根据build.xml中的命名得到的,需要打开build.xml查看,下载不同版本的asmtools,其里面的命名方式不同)

asmtools.jar包制作

asmtools.jar包制作

之后在对应目录下即可生成asmtools.jar:

asmtools.jar包制作

下载地址:https://github.com/Al1ex/Asmtools

 

 

 

 

 

 

 

相关文章:

  • 2021-05-26
  • 2021-07-04
  • 2022-12-23
猜你喜欢
  • 2021-08-13
  • 2021-07-08
  • 2022-01-19
  • 2021-09-01
  • 2021-10-28
  • 2022-02-15
  • 2021-10-01
相关资源
相似解决方案