1. javac将java文件编译为.class
javac -d bin srccomservicewightAutoWeightService.java
2. jar命令将.class文件打包为jar文件
jar -cvfe AutoWeightService.jar com.service.wight.AutoWeightService -C bin comservicewightAutoWeightService.class
注:https://www.cnblogs.com/wangbingbing/p/15231238.html
3. 输入命令,将 jar 生成 dll
ikvmc -out:AutoWeightService_1.0.dll AutoWeightService.jar
注:https://blog.csdn.net/qq_40197828/article/details/82724885



