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
 

Regards,
Graham
—

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to