Java:编辑并重新编译.jar?

发布于 2024-08-13 07:54:23 字数 125 浏览 3 评论 0原文

我下载了 JGraphT,我想对核心文件进行一些更改。我正在使用 Eclipse。它需要 .jar 或 .zip 将源文件附加到 .class 文件。我有 .java 文件,但我不确定我应该做什么。我要编辑它,然后重新编译 jar 吗?

I downloaded JGraphT, and I want to make some changes to the core files. I'm using Eclipse. It wants a .jar or .zip to attach source files to the .class file. I have the .java file, but I'm not sure what I should do. Do I edit it, then recompile the jar?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

命比纸薄 2024-08-20 07:54:23

我将首先转到 JGraphT 的 Sourceforge Developer 选项卡,并按照查看最新源代码的说明进行操作:

 svn co https://jgrapht.svn.sourceforge.net/svnroot/jgrapht jgrapht

然后从源代码在 Eclipse 中创建一个项目,并阅读有关如何构建和部署的自述文件。

I would start by going to the Sourceforge Developer tab for JGraphT, and follow the instructions on checking out the latest source code :

 svn co https://jgrapht.svn.sourceforge.net/svnroot/jgrapht jgrapht

Then create a project in Eclipse from the sources, and read through the README on how to build and deploy.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文