Talk:A slightly better Java Launcher

From NSIS Wiki
Jump to navigationJump to search

Great idea! Thanks a lot.

altering the startupline to

StrCpy $0 '"$R0" ${PARAMETER} -classpath "${CLASSPATH}" ${CLASS} $CMDLINE'

gives you the ability to work with args[0] in your java main class. otherwise they con't come through.