Skip to content
Advertisement

How do I install jarsigner on Amazon Linux 2?

My understanding is that jarsigner is packaged with OpenJDK, which I’ve installed by running

JavaScript

Now I have a bunch of synlinks to the jdk, like so:

JavaScript

However, I don’t have jarsigner in the bin directory:

JavaScript

What else do I need to do to install this binary?

Advertisement

Answer

It appears Amazon follows the RedHat packaging scheme with JRE and JDK separated, as Sun/Oracle used to (and the JRE split into GUI and ‘headless’, not an issue for you):

JavaScript

sudo yum install java-11-openjdk-devel should do it.

Advertisement