NetBeans将java项目编译成jar包

红太狼 2022-05-15 04:21 335阅读 0赞

1.找到file选项下的build.xml。

70

2.添加代码到build.xml文件的标志之前 。

70 1

复制如下代码:



















































  1. build.xml右键即可打包生成SwitchHexAndChinese.jar

  run target —-》other target——-》package -for-store

70 2

4.files——>store——>your jar

store文件夹下即你的目标jar包

========================================

<?xml version=”1.0” encoding=”UTF-8”?>








Builds, tests, and runs the project pcp.

















发表评论

表情:
评论列表 (有 0 条评论,335人围观)

还没有评论,来说两句吧...

相关阅读