JAL-2664 Updates following review
[jalview.git] / build.xml
index d3dd55d..94f32fd 100755 (executable)
--- a/build.xml
+++ b/build.xml
         </information>
         <resources>
           <j2se version="9+" />
+          <j2se version="7,8" initial_heap_size="${inih}" max_heap_size="${maxh}" />
           <jar main="true" href="jalview.jar"/>
           <fileset dir="${packageDir}">
             <exclude name="jalview.jar" />
 
     <jnlpf toFile="${jnlpFile}" />
     <!-- add a j2se entry for java 9 -->
-    <replace file="${jnlpFile}" value="j2se version=&quot;9+&quot; initial-heap-size=&quot;${inih}&quot; max-heap-size=&quot;${maxh}&quot; java-vm-args=&quot;--add-modules java.rmi,java.xml,java.xml.bind,java.xml.ws&quot;">
+    <replace file="${jnlpFile}" value="j2se version=&quot;9+&quot; initial-heap-size=&quot;${inih}&quot; max-heap-size=&quot;${maxh}&quot; java-vm-args=&quot;--add-modules=java.se.ee&quot;">
           <replacetoken>j2se version="9+"</replacetoken>
            
         </replace>