I am using Lanch4j to allow my application to have its own name appear in the task manager. However it does not work. I created a wtii.exe using this xml configuration:
<?xml version="1.0" encoding="UTF-8"?>
<launch4jconfig>
<dontwrapjar>true</dontwrapjar>
<headertype>gui</headertype>
<jar>whoseturnisit.jar</jar>
<outfile>C:\Programs\Whose Turn Is It\WTII.exe</outfile>
<errtitle></errtitle>
<cmdline></cmdline>
<chdir>.</chdir>
<priority>normal</priority>
<downloadurl></downloadurl>
<supporturl></supporturl>
<stayalive>false</stayalive>
<restartoncrash>false</restartoncrash>
<manifest></manifest>
<icon></icon>
<jre>
<path>jre</path>
<bundledjre64bit>true</bundledjre64bit>
<bundledjreasfallback>false</bundledjreasfallback>
<minversion></minversion>
<maxversion></maxversion>
<jdkpreference>preferJre</jdkpreference>
<runtimebits>64/32</runtimebits>
</jre>
</launch4jconfig>
The task manager name still appears as "Zul Platform x64 Architecture" just like when I launch my app via "java -jar". Why isn't the name appearing as wtii?
Post java-8 the java executable doesn't allow to be presented as another exe name, that's not a limitation in launch4j itself