boot-class-path not allowed with target 11 failing on Windows

1k Views Asked by At

I am upgrading IKVM codebase from Java 8 to Java 11, getting "boot-class-path not allowed with target 11"

<target name="classes" depends="clean-classes stubjars allsources.gen.lst AssemblyInfo.java PropertyConstants.java">
    <exec program="javac" useruntimeengine="false">
        <arg value="-J-Xmx1536M" />
        <arg value="-g" />
        <arg value="-nowarn" />
        <arg value="-implicit:none" />
        <arg value="-parameters" />
        <arg line="-cp dummy" />
        <arg value="-bootclasspath" />
        <arg path="mscorlib.jar;System.jar;System.Core.jar;System.Data.jar;System.Drawing.jar;System.XML.jar;../runtime/IKVM.Runtime.jar" />
        <arg value="@allsources.gen.lst" />
    </exec>
0

There are 0 best solutions below