Build error with javac Main not being found when building java.transaction module on Mac OS X

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Fri Feb 6 23:16:21 UTC 2015


On 2015-02-06 17:46, Martijn Verburg wrote:
>
> /Users/karianna/Documents/workspace/AdoptOpenJDK_projects/jdk9/build/macosx-x86_64-normal-server-release/buildtools/interim_langtools.jar
> does not exist!  So it's not being built correctly or moved to the right
> place.
>
> I'm not seeing any other clues (even at trace) that indicates why
> interim_langtools.jar has not been built....

Sometimes mercurial forests can get messed up. If an unmodified source 
fails to compile after dist-clean, this can be the case. One thing to to 
is to try and re-clone the forest. Make sure get_source.sh runs to 
completion without any errors.

Otherwise, you have narrowed down the issue quite well. We need to 
figure out why interim_langtools.jar is not being built.

Start by rm -rf build && configure.

Then run "make interim-langtools". Check the contents of 
build/$BUILD/buildtools. Is it there? If so, you should be able to do 
just "make" and continue.

Otherwise, start again with more logging. rm -rf build && configure && 
make interim-langtools LOG=debug  (trace is not being helpful).

/Magnus


More information about the jdk9-dev mailing list