I am trying to start up java 1.4.2.00 specifying my initial and max heap sizes along with using remote debuging. I can start java with either the -Xms and -Xmx options or the -Xrundwp option fine. When I try to use both, I get a message about no transport identified and the jvm stops.
java -server -Xms64m -Xmx2048m -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket
,address=8787,server=y,suspend=n
Produces the following error:
ERROR: No transport specified.
Invalid JDWP options:
Error occurred during initialization of VM
-Xrun library failed to init: jdwp
How can one set the heap size and still use remote debugging?