编译OpenJDK8报错:configure: error: Failed to determine Xcode version.

苍元章
2023-12-01
  •  具体错误
configure: error: Failed to determine Xcode version.
/Users/taishansoft/Downloads/tsjdk8-project/ts-jdk8/common/autoconf/generated-configure.sh: line 82: 5: Bad file descriptor
  • 解决办法

下载安装Xcode。把整个Xcode.app目录移动到/Applications目录下。然后执行以下命令:

sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer

 类似资料: