Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
Using Launch4J 3.0.2
I have added this line to JVM options:
The environment variable MYBLAH has a value on my test system (XP Pro).
If I run the generated wrapper exe by double clicking on it, myapp.blah arrives as null.
If I run the generated wrapper via the commandline, myapp.blah arrives with the correct value.
If I create a shortcut to the generated wrapper exe and double click on it, myapp.blah arrives with the correct value.
Any ideas how I can get the first case to work?
Never mind. It was a stupid error in my main() code; a misplaced bracket...