Amazon Web Services Blog announced the availability of Java LTS (Long-Term Support) for Amazon Linux 2 and Amazon Linux AMI. [About providing Java LTS (Long-Term Support) on Amazon Linux _ Amazon Web Services Blog](https://aws.amazon.com/jp/blogs/news/re-affirming-long-term-support-for -java-in-amazon-linux /)
For more information, see the blog above, but here's a quick summary:
--Free LTS for OpenJDK 8 and OpenJDK 11 on Amazon Linux 2 will be provided by Amazon at the earliest ** until June 30, 2023 ** --Support for OpenJDK 8 on Amazon Linux AMI 2018.03 ** Until June 30, 2020 ** Provided by AWS
I think AWS is really wonderful in this kind of place. Now you can safely move to Java 11.