Doctool hasn't been updated yet, see: https://github.com/gwtproject/gwt/pull/9780
You can install Java 8 for Mac x86 using https://adoptium.net/de/temurin/releases/?version=8 If you use a Mac with Apple Silicon and don't want to install Rosetta 2 you would need to install Java 8 from a different vendor, e.g. Azul Zulu or Amazon Corretto 8 (also available via brew.sh). Or you make/use a Docker image with Java 8 + ANT (+ Maven if you want to push the build to a corporate repository), mount the GWT SDK + Tools repositories and compile inside the container. -- J. stuckagain schrieb am Mittwoch, 22. März 2023 um 09:21:42 UTC+1: > Is it possible to compile GWT on a Mac ? Is it mandatory to use Java 8, > that version is no longer available. > > I have Java 11 installed, but I get the following error: > > > > compile: > > [mkdir] Created dir: > /Users/me/Projects/gwt/build/out/build_tools/doctool/bin > > [javac] Compiling 10 source files to > /Users/me/Projects/gwt/build/out/build_tools/doctool/bin > > [javac] -Xbootclasspath/p is no longer a supported option. > > [javac] Error: Could not create the Java Virtual Machine. > > [javac] Error: A fatal exception has occurred. Program will exit. > > > > -- You received this message because you are subscribed to the Google Groups "GWT Contributors" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/970b7bd7-a88f-41a4-8295-373a4118f083n%40googlegroups.com.
