poidasmith/winrun4j — Issue #9: Embedded ini limited to 1024 bytes
Author: harmsk
Created: 2012-01-13 20:44:15+00:00
State: open

ini files which are embedded using the /N option are truncated at byte 1024.

You can reproduce this issue by creating an ini file with many classpath entries (make sure the classpath entries break the 1024 byte mark). Embed the ini file using the /N option. Now launch your program... notice that the info messages you should see a classpath entry that is halfway complete... for example this should read "lib/tools.jar"

[info] Expanding Classpath: lib/too

This will result in your application failing to have a complete classpath, and therefore should crash.

You can workaround this issue by not embedding your ini file. ini files located at the same location as the exe works fine!