
java
文章平均质量分 58
于先森啊
争渡的鱼
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
使用xjar+exe4j+inno setup把加密后的jar打包成exe应用程序并创建服务
选择jar包的时候需要选择加密后的jia包,选择启动类的时候需要选择io.xjar.boot.XJarLauncher。以上就能在安装软件的时候自动创建相应的服务并启动该服务,卸载软件的时候自动停止并删除该服务。-Dxjar.mode:加密模式,0:普通模式 1:危险模式(免密码启动),,不知道选择其他启动模式可不可以,反正我是选择了Service。,高版本不支持-Dxjar.mode,无法免密码启动。在项目的pom.xml中加入xjar的插件依赖,在exe4j的选择启动模式时选择Service。原创 2024-09-14 11:41:50 · 1088 阅读 · 2 评论 -
java 对两个list进行“交集,并集,差集,去重复并集”的操作
@Test public void testTwoList(){ List a = new ArrayList(); List b = new ArrayList(); List c = new ArrayList(); List d = new ArrayList(); a.add("a"); a.add("b"); a.add("c"); b.ad原创 2018-01-25 10:36:32 · 5461 阅读 · 0 评论