Skip to content

Update Mesquite_Starter.bat#132

Open
tomoakin wants to merge 1 commit intoMesquiteProject:masterfrom
tomoakin:tomoakin-Startar_bat
Open

Update Mesquite_Starter.bat#132
tomoakin wants to merge 1 commit intoMesquiteProject:masterfrom
tomoakin:tomoakin-Startar_bat

Conversation

@tomoakin
Copy link
Copy Markdown

On windows systems where Java is in the PATH but not installed from Oracle, Mesquite_Starter.exe fails to find the Java environment and refuses to start Mesquite. This is interpreted that Mesquite_Starter.exe is based on Launch4j v3.14, which seeks information from the registry and fails to find Java, even if the java fulfill the required version, for example those from openjdk or microsoft. (The Launch4j v3.50 news mentions this, and updating Launch4j is expected to make the exe work in more diverse environments).

On such systems, Mesquite can be executed from a command line or batch file. However, with the example bat file in the distribution, xml parse related error prevented execution of accompanied apps such as mafft to work.

The key change in this proposal is adding Mesquite_Starter.exe to the classpath, which was found effective to avoid the XML parse errors. The arguments are based on the "Launcher args" described in the debug log file (launch4j.log) created by "Mesquite_Starter.exe --l4j-debug". Therefore the -jar Mesquite.jar are removed and start.Mesquite was added.

In environments where Java is in the PATH but not installed from Oracle, Mesquite_Starter.exe fails to find the Java environment and refuses to start Mesquite. This is interpreted that Mesquite_Starter.exe is based on Launch4j v3.14, which seeks information from the registry and fails to find Java. (The Launch4j v3.50 news mentions this, and updating Launch4j is expected to make the exe work in more divergent environments).

In such environments, Mesquite can be executed from a command line or batch file. However, with the example bat file in the distribution, xml parse related error prevented execution of accompanied apps such as mafft to work.

The key change in this proposal is adding Mesquite_Starter.exe to the classpath, which was found effective to avoid the XML parse errors. The arguments are based on the "Launcher args" described in the debug log file (launch4j.log) created by "Mesquite_Starter.exe --l4j-debug".
@wmaddisn
Copy link
Copy Markdown
Contributor

wmaddisn commented Jan 29, 2026 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants