Menu

Launch4J does not open in MacBook Pro M1

Gonzalo
2021-03-04
2021-03-14
  • Gonzalo

    Gonzalo - 2021-03-04

    I have a MacbookPro M1 with the following java versions:

    java version "15.0.1" 2020-10-20
    Java(TM) SE Runtime Environment (build 15.0.1+9-18)
    Java HotSpot(TM) 64-Bit Server VM (build 15.0.1+9-18, mixed mode, sharing)

    Is this an issue related to the Java version?
    I used to have an iMac where I was using a lower version of java. Now I don't know which would be the correct version if the root issue is java version.

    Any idea on how to fix this problem?

    In the other hand, when trying to open the project in Eclipse trying to open the jar from there, the following issue is present at the top of the MainFrame.java class:
    ***The type com.sun.java.swing.plaf.windows.WindowsLookAndFeel cannot be resolved. It is indirectly referenced from required .class ***

    The error console in eclipse is showing the errors seems to be at line 98 in the code inside a method of the class (displayed in the attached image)

    If there is no solution for this, is there any other way to create .exe applications from a .jar file?

     
  • Grzegorz Kowal

    Grzegorz Kowal - 2021-03-07

    Fixed in 3.14. Releasing now.

    BR,
    Grzegorz

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.