% brew install caver-java
Error: openjdk@8: no bottle available!
You can try to install from source with:
brew install --build-from-source openjdk@8
Please note building from source is unsupported. You will encounter build
failures with some formulae. If you experience any issues please create pull
requests instead of asking for help on Homebrew's GitHub, Twitter or any other
official channels.
%
참고로 oracle jdk 1.8 버전을 사용중입니다.
% java -version
java version "1.8.0_162"
Java(TM) SE Runtime Environment (build 1.8.0_162-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode)
%
johnkim@gimjun-uui-MacBookPro ~ % java -version
openjdk version "1.8.0_322"
OpenJDK Runtime Environment (Zulu 8.60.0.21-CA-macosx) (build 1.8.0_322-b06)
OpenJDK 64-Bit Server VM (Zulu 8.60.0.21-CA-macosx) (build 25.322-b06, mixed mode)
johnkim@gimjun-uui-MacBookPro ~ % brew install caver-java
Error: openjdk@8: no bottle available!
You can try to install from source with:
brew install --build-from-source openjdk@8
Please note building from source is unsupported. You will encounter build
failures with some formulae. If you experience any issues please create pull
requests instead of asking for help on Homebrew's GitHub, Twitter or any other
official channels.
johnkim@gimjun-uui-MacBookPro ~ %
OpenJDK 가 M1칩에 호환성문제가 있어서 서드파티 소스 이용해서 빌드해야한다고 본것같습니다. 아래 stack overflow 확인해주세요.
현재 M1에서 설치가능한 빌드는 아래 소스를 이용하시면 되는것으로 알고있습니다.
해당사항은 개발팀에서 테스트할 장비가 있어야되는 사항이고 또한 이 건이 caver-java 자체문제는 답변에 시간이 좀 걸릴것으로 생각됩니다. 기다리시는 동안 위 M1지원되는 버젼을 설치하신후 혹시 OpenJDK 버전의 호환성 문제로 진행이 안되는경우 개발팀에게 상위 openJDK 호환성 패치 요청해 주시는 형태로 진행하시는게 좋을것같습니다.