Java splash screen not working when using a shortcut -


i have created exe jar file launch4j. have splash screen in png loaded executing parameter -splash:logo.png

when execute exe file, works properly. if execute program shortcut, doesn't work (i mean splash image, rest of program works ok).

why happen? how can fix problem?

set working directory in shortcut.

one of shortcut properties should "start in" or "working directory". make sure have set same directory shortcut in. when double-click on exe start it, happens automatically. when create shortcut, set anything.

the problem here isn't shortcut losing parameter. impossible since it's compiled exe file. problem here application cannot find logo.png, expecting in subfolder of working directory.


Comments

Popular posts from this blog

Python __call__ special method practical example -

arrays - jQuery - Retrieve values from HTML elements and return their sum -