Build error with javac Main not being found when building java.transaction module on Mac OS X
Alan Bateman
Alan.Bateman at oracle.com
Fri Feb 6 16:06:53 UTC 2015
On 06/02/2015 15:42, Martijn Verburg wrote:
> Hi Alan,
>
> Thanks for the quick response! I've executed:
>
> rm -rf build
> bash configure
> make clean images
>
> ==========
>
> Unfortunately the same error comes up:
>
> ....
> Cleaned all build artifacts.
> Building OpenJDK for target 'clean images' in configuration
> 'macosx-x86_64-normal-server-release'
> ....
> Compiling 5 files for BUILD_GENMODULESLIST
> Compiling 8 files for BUILD_TOOLS_LANGTOOLS
> Compiling 3 files for java.transaction
> Error: Could not find or load main class com.sun.tools.javac.Main
>
I wonder if this last message is the clue. For the boot JDK then does
bin/javac -version work? I would be surprised to get through the
configure step if the boot JDK isn't set right but worth checking.
-Alan.
More information about the jdk9-dev
mailing list