Thank you Jaikiran, that was it.
I commented out the line:
if not "x%JAVA_OPTS%" == "x" goto JAVA_OPTS_SET
and added %JAVA_OPTS% to the first set JAVA_OPTS line in run.conf.bat.
Works great now.
I will always check the JVM Properties dump in boot.log from now on.