有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!


共 (1) 个答案

  1. # 1 楼答案

    the Eclipse help page

    To create a new runnable JAR file in the workbench:

    1. From the menu bar's File menu, select Export.
    2. Expand the Java node and select Runnable JAR file. Click Next.
    3. In the Opens the Runnable JAR export wizard Runnable JAR File Specification page, select a 'Java Application' launch configuration to use to create a runnable JAR.
    4. In the Export destination field, either type or click Browse to select a location for the JAR file.
    5. Select an appropriate library handling strategy.
    6. Optionally, you can also create an ANT script to quickly regenerate a previously created runnable JAR file.

    这将创建一个新的可运行jar文件,可以在所有安装了JRE的操作系统上执行