I am trying to get set up to doc contributions for Apache HTTP Server
project.
I am following the directions in
http://httpd.apache.org/docs-project/docsformat.html
When I try to run .build.sh all, I get the following error:
-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 see the following lines in build.sh:
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 "$@"
else
exec "$JAVACMD" $ANT_OPTS -Xbootclasspath/p:"$LOCALCLASSPATH"
-classpath "$LOCALCLASSPATH" -Dant.home="${ANT_HOME}"
org.apache.tools.ant.Main $ANT_ARGS "$@"
fi
My JAVA_HOME is set to /usr/lib/jvm/java-11-openjdk-amd64
So it looks like -Xbootclasspath/p is not supported in Java 11.
What alternative should be used in build.sh?
Thanks,
Mike Rumph