作者:禾漾啊 | 来源:互联网 | 2023-05-17 02:49
IwaswritingasimpleprogramusingaJavaapplication(notapplicationthathasprojects,butappl
I was writing a simple program using a Java application (not application that has projects, but application within a project; .java) that has a single frame. Both of the files are .java so I can't write a manifest needed by the JAR. The MyApp.java starts like a class with package, imports then public class MyApp { and has a main function, but it's still .java! I'm writing it in JDeveloper 11g if it helps...
我正在使用Java应用程序编写一个简单的程序(不是具有项目的应用程序,而是项目中的应用程序; .java),它具有单个框架。这两个文件都是.java,因此我无法编写JAR所需的清单。 MyApp.java就像一个带包的类,然后导入公共类MyApp {并且有一个main函数,但它仍然是.java!如果它有帮助我在JDeveloper 11g中写它...
Any ideas how to make a JAR from these files?
有关如何从这些文件制作JAR的任何想法?
6 个解决方案