Search code examples
javalaunch4j

Enter Mutex error for Launch4J


What is the following error I get in Launch4J while converting my Jar file to an Exe:

Enter Mutex Name?

I am using Version 3.8 of Launch4J. Comment if you want me to elaborate.


Solution

  • If you chose a Mutex, you allow only one instance of your application.

    You can chose a random Mutex name, example: abcMutex0

    Without Mutex:

    WithoutMutex

    With Mutex:

    WithMutex

    If you get the error Enter Mutex Name?, you may have tick "Allow only a single instance of the application" but you haven't enter a Mutex name.