Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to Install kinesis agent #250

Open
PranathiSG opened this issue Feb 8, 2023 · 2 comments
Open

Unable to Install kinesis agent #250

PranathiSG opened this issue Feb 8, 2023 · 2 comments

Comments

@PranathiSG
Copy link

I'm trying to install kinesis agent on my linux machine.

After downloading the code from repo, I executed the command "sudo ./setup --install" which is giving the error - "amazon-kinesis-agent-master/build.xml.29: Unsupported Java version: 11. Make sure that Java version is 1.8 or greater."

My Java version :
openjdk 11.0.17 2022-10-18
OpenJDK Runtime Environment (build 11.0.17+8-post-Ubuntu-1ubuntu222.04)
OpenJDK 64-Bit Server VM (build 11.0.17+8-post-Ubuntu-1ubuntu222.04, mixed mode, sharing)

I've tried to install the agent with java version 17.0.6 19.0.2, but with this version also, I'm getting similar error.

Any help on this is highly appreciated.

@NothinRandom
Copy link

You need to install openjdk-8-jdk in order to install the agent (e.g. on Debian/ubuntu sudo apt-get install -y openjdk-8-jdk). Not sure why the agent doesn't support openjdk-11-jdk like other apps and still leverages jdk-8 from the early 2010s.

@pg-faheem
Copy link

OpenJDK 11 Support - #262

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants