On Mon, Feb 26, 2018 at 9:01 AM, Graham Leggett <[email protected]> wrote: > Hi all, > > I am getting the following when I build the httpd docs: > > Little-Net:build minfrin$ ./build.sh > -Xbootclasspath/p is no longer a supported option. > Error: Could not create the Java Virtual Machine. > Error: A fatal exception has occurred. Program will exit. > > I believe -Xbootclasspath/p has been removed in java9 - can anyone confirm > what this option was supposed to do in our docs build? > > This works around the problem for me: > > Index: build.sh > =================================================================== > --- build.sh (revision 1825371) > +++ build.sh (working copy) > @@ -137,8 +137,8 @@ > fi > > if [ -n "$CYGHOME" ]; then > - exec "$JAVACMD" $ANT_OPTS -Xbootclasspath/p:"$LOCALCLASSPATH" -classpath > "$LOCALCLASSPATH" -Dant.home="${ANT_HOME}" -Dcygwin.user.home="$CYGHOME" > org.apache.tools.ant.Main $ANT_ARGS "$@" > + exec "$JAVACMD" $ANT_OPTS -classpath "$LOCALCLASSPATH" > -Dant.home="${ANT_HOME}" -Dcygwin.user.home="$CYGHOME" > org.apache.tools.ant.Main $ANT_ARGS "$@" > else > - exec "$JAVACMD" $ANT_OPTS -Xbootclasspath/p:"$LOCALCLASSPATH" -classpath > "$LOCALCLASSPATH" -Dant.home="${ANT_HOME}" org.apache.tools.ant.Main > $ANT_ARGS "$@" > + exec "$JAVACMD" $ANT_OPTS -classpath "$LOCALCLASSPATH" > -Dant.home="${ANT_HOME}" org.apache.tools.ant.Main $ANT_ARGS "$@" > fi >
My assumption is to use our bundled xerces over a possible JDK-bundled one. I don't know if this is just for consistency or if it was actually needed. -- Eric Covener [email protected]
