I was running sudo ./setup --install on my mac and it was failing with below error:
check-java-version:
BUILD FAILED
/User/XXX/amazon-kinesis-agent/build.xml:29: Unsupported Java version: 11. Make sure that the Java version is 1.8 or greater.
Total time: 0 seconds
This is my java version:
% java -version
openjdk version "1.8.0_302"
OpenJDK Runtime Environment (build 1.8.0_302-bre_2021_07_21_23_11-b00)
OpenJDK 64-Bit Server VM (build 25.302-b00, mixed mode)
I was running
sudo ./setup --install
on my mac and it was failing with below error:This is my java version: