awslabs / amazon-kinesis-agent

Continuously monitors a set of log files and sends new data to the Amazon Kinesis Stream and Amazon Kinesis Firehose in near-real-time.
Other
355 stars 222 forks source link

Build agent fails on mac #228

Open viccsjain opened 3 years ago

viccsjain commented 3 years ago

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)
zx8086 commented 2 years ago

Was there a fix to this?