centos7编译openjdk12时报这个错(java -version 都没问题)

Building target 'images' in configuration 'linux-x86_64-server-fastdebug'
Compiling 8 files for BUILD_TOOLS_LANGTOOLS
warning: [path] bad path element "/usr/local/java/jdk11/jdk-11.0.11/lib.tools.jar": no such file or directory
error: warnings found and -Werror specified
1 error
1 warning
gmake[3]: *** [/usr/local/openjdk12/jdk12-06222165c35f/build/linux-x86_64-server-fastdebug/buildtools/langtools_tools_classes/_the.BUILD_TOOLS_LANGTOOLS_batch] Error 1
gmake[2]: *** [buildtools-langtools] Error 1

ERROR: Build failed for target 'images' in configuration 'linux-x86_64-server-fastdebug' (exit code 2)

=== Output from failing command(s) repeated here ===

  • For target buildtools_langtools_tools_classes__the.BUILD_TOOLS_LANGTOOLS_batch:
    warning: [path] bad path element "/usr/local/java/jdk11/jdk-11.0.11/lib.tools.jar": no such file or directory
    error: warnings found and -Werror specified
    1 error
    1 warning

  • All command lines available in /usr/local/openjdk12/jdk12-06222165c35f/build/linux-x86_64-server-fastdebug/make-support/failure-logs.
    === End of repeated output ===

No indication of failed target found.
Hint: Try searching the build log for '] Error'.
Hint: See doc/building.html#troubleshooting for assistance.

make[1]: *** [main] Error 1
make: *** [images] Error 2

最后执行make images时报的错

warning: [path] bad path element "/usr/local/java/jdk11/jdk-11.0.11/lib.tools.jar": no such file or directory
error: warnings found and -Werror specified

很明显啊 这个路径不对啊,你这环境是不是污染了 怎么还有jdk11 的东西啊