Failed to bundle Java application 1.8 for Mac

后端 未结 2 1369
独厮守ぢ
独厮守ぢ 2021-01-26 09:08

I am trying to export my Java Application to Mac. The application is based on Compiler Complience Level 1.7. I tried different methods to bundle the application.

1) Ecli

相关标签:
2条回答
  • 2021-01-26 09:37

    The new recommended way to create Java application bundles in OS X is to use Oracle's appbundler. This is Ant-based.

    There is also a fork which provides some extra functionality.

    0 讨论(0)
  • 2021-01-26 09:39

    There are two different kinds of Java app bundle on OSX. The older kind works with Apple Java versions (up to Java 6) and the newer kind with Oracle Java (7 and later). The maven osxappbundle plugin only supports the former, which is why it won't use Java later than 6. I presume the eclipse tool you're using is the same.

    This alternative Maven plugin claims to work with Oracle Java versions.

    0 讨论(0)
提交回复
热议问题