</information>
<resources>
<j2se version="${j2sev}" initial_heap_size="${inih}" max_heap_size="${maxh}" />
- <j2se version="9+" initial_heap_size="${inih}" max_heap_size="${maxh}" java-vm-args="--add-modules java.rmi,java.xml,java.xml.bind,java.xml.ws"/>
+ <j2se version="9+" initial_heap_size="${inih}" max_heap_size="${maxh}"/>
<jar main="true" href="jalview.jar"/>
<fileset dir="${packageDir}">
<exclude name="jalview.jar" />
</presetdef>
<jnlpf toFile="${jnlpFile}" />
-
+ <!-- add a j2se entry for java 9 -->
+ <replace file="${jnlpFile}" value="j2se version="9+" initial-heap-size="${inih}" max-heap-size="${maxh}" java-vm-args="--add-modules java.rmi,java.xml,java.xml.bind,java.xml.ws"/><j2se">
+ <replacetoken>j2se</replacetoken>
+
+ </replace>
</target>
<target name="-dofakejnlpfileassoc" depends="-generatejnlpf" if="nojnlpfileassocs">