I'm new to the list, but I think the following does what you want:
<java classname="Blah.spam" fork="yes">
<arg value="-arg1" />
<arg value="-arg2" />
<arg value="-arg3" />
<jvmarg value="-arga" />
<jvmarg value="-argb" />
</java>