ghcjs 2021-07-11 20:35 采纳率: 0%
浏览 189
已结题

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

  • 写回答

2条回答 默认 最新

  • ghcjs 2021-07-11 20:36
    关注

    最后执行make images时报的错

    评论

报告相同问题?

问题事件

  • 已结题 (查看结题原因) 7月11日
  • 创建了问题 7月11日

悬赏问题

  • ¥15 chaquopy python 安卓
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 CSS实现渐隐虚线框
  • ¥15 有没有帮写代码做实验仿真的
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥30 vmware exsi重置后登不上
  • ¥15 易盾点选的cb参数怎么解啊
  • ¥15 MATLAB运行显示错误,如何解决?
  • ¥15 c++头文件不能识别CDialog
  • ¥15 Excel发现不可读取的内容