Failed to bundle Java application 1.8 for Mac

后端 未结 2 1413
独厮守ぢ
独厮守ぢ 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: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.

提交回复
热议问题