创建java库文件 [英] create java library file

查看:94
本文介绍了创建java库文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在不同的ADF项目中使用了多个java文件,我想将它们存档在jar文件中,这样我就可以从任何新项目导入这个存档文件来使用项目中的java库,我尝试创建它在jdeveloper但没有运气。

I'm using number of java files as common in different ADF projects, I want to archive them in jar file so I can import this archive file from any new project to use the java libraries in the project, I tried create it in jdeveloper but no luck.

感谢您的任何建议,

推荐答案

您可以使用以下文章来理解方法。

You can use the following article to understand the way.

创建一个Jar文件

jar cf jar-file input-file(s)

但您仍然可以使用Windows zip实用程序或winzip压缩文件并将其重命名为jar文件。这不是官方的,但它确实有效。

But still you can zip a file using windows zip utility or winzip and rename it as a jar file. It is not official but it works.

这篇关于创建java库文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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