如何使用 Jfreechart 库导出 Jar
我希望将 Java 项目从 eclipse 导出到可执行 Jar 文件中。
我尝试从 Eclipse a) 导出为 Jar b) 导出为可执行 Jar。项目中有 Jfreechart 库,尽管我选中了“导出所有引用的库”选项,但从导出的 Jar 运行的 UI 并没有真正绘制图表。
我尝试将 Fat Jar 添加到 Eclipse 的“参考库”项目中,但还没有成功。
这也与我之前的问题有关:向客户端提供/导出可执行文件
I am looking to export a Java project into a Executable Jar file from eclipse.
I have tried to export from Eclipse a) as Jar b) as Executable Jar. There are Jfreechart libraries in project, although I check the option "export all referenced libraries" the UI run from exported Jar doesn't really draw the graph.
I tried adding Fat Jar into project "Referenced libraries" in Eclipse, no luck yet.
This is related to my previous question as well : Provide/Export executable file to client
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
(代表问题作者发布解决方案,以便将其移至答案空间)。
找到了解决方案,Fat Jar 帮助我做到了这一点。
(Posted solution on behalf of the question author, in order to move it to the answer space).
Found the solution, Fat Jar helped me do this.