将META-INF添加到现有JAR文件 [英] Add META-INF to existing JAR file

查看:485
本文介绍了将META-INF添加到现有JAR文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好b $ b我有一个现有的JAR文件 adad.jar 。这个文件里面没有META-INF,我需要有这个数据来处理这个文件。

有没有软件或工具可以为我制作这个meta-inf文件夹?

Hi I have an existing JAR file adad.jar. This file didn't have META-INF inside, and I need to have this data to work with this file.
Is there any software or tool to make this meta-inf folder for me?

推荐答案

您可以使用 j ava ar 韭菜中提取所有文件://docs.oracle.com/javase/7/docs/technotes/tools/windows/jar.html> jar命令 [ ^ ]。完成后,您可以使用标准Windows工具添加META-INF文件夹和清单文件。
You can extract all the files from the java archive by using the jar command[^]. Once you have done that you can add the META-INF folder and manifest file using standard Windows tools.


这篇关于将META-INF添加到现有JAR文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆