How to install java-common for Amazon Corretto

Then build the desired version

pamac build amazon-corretto-$VERSION