look at the following line:
This works fine. However if I add another 7 jars to the classpath:
CreateShortCut "$SMPROGRAMS\${ZANG}\${ZANG}.lnk" "${JAVA_EXE}" "-cp ./Client/a.jar;./Client/b.jar;./Client/c.jar;./Client/d.jar;./Client/e.jar com.kc.pm.Main" "${SOME_ICON}" ""
CreateShortCut "$SMPROGRAMS\${ZANG}\${ZANG}.lnk" "${JAVA_EXE}" "-cp ./Client/a.jar;./Client/b.jar;./Client/c.jar;./Client/d.jar;./Client/e.jar;./Client/f.jar;./Client/g.jar;./Client/h.jar;./Client/i.jar;./Client/j.jar;./Client/k.jar;./Client/l.jar com.kc.pm.Main" "${SOME_ICON}" ""
This doesn't work. I've noticed that It breaks after adding the 10th jar. When I add the 10th jar it effects the desktop and quick launch icons as well.
Is the string above too long for NSIS? I have no idea. If i run all the jars using a batch file the program runs correctly.
ps. I've renamed the jars above for simplicity.