Overview
This product has charges associated with it for seller support. This is open source software, which is repackaged by ThinkCloud. The additional cost is applicable to the extended support of 24-hour response time. A repackaged OpenJDK 21 environment on CentOS Stream 9, including support. It offers a pre-configured, security-hardened environment designed for immediate deployment.
OpenJDK 21 is the latest long-term support (LTS) release of the open-source Java Development Kit, delivering a stable and production-ready Java runtime and compiler. Installed via the standard CentOS dnf package manager, it provides a fully integrated Java environment with no manual setup required. OpenJDK 21 includes all core Java SE 21 APIs and tools, making it the recommended platform for building and running modern enterprise, web, and cloud-native Java applications.
Benefits:
- Latest LTS Release: OpenJDK 21 is the most recent long-term support version, providing the latest features alongside stable, long-term security updates.
- Virtual Threads: Project Loom virtual threads (JEP 444) dramatically simplify high-throughput concurrent application development.
- Pattern Matching: Enhanced pattern matching for switch expressions and instanceof checks improves code clarity and reduces boilerplate.
- Standard Installation: Installed via dnf, ensuring seamless integration with CentOS Stream 9 system packages and update mechanisms.
- Wide Ecosystem Compatibility: Fully compatible with Spring Boot 3, Quarkus, Micronaut, and build tools such as Maven and Gradle.
- Production Ready: Suitable for running enterprise applications, microservices, reactive workloads, and cloud-native services on AWS.
This AMI is ideal for Java Developers, Backend Engineers, and DevOps teams who need the latest stable Java 21 LTS runtime environment on CentOS Stream 9.
Highlights
- CentOS Stream 9 Minimal installation with latest updates
- Professional technical support and fast response
- Optimized configuration for OpenJDK 21 on CentOS Stream 9
Details
Introducing multi-product solutions
You can now purchase comprehensive solutions tailored to use cases and industries.
Features and programs
Financing for AWS Marketplace purchases
Pricing
- ...
Dimension | Cost/hour |
|---|---|
t3.large Recommended | $0.05 |
t2.micro | $0.05 |
t3.micro | $0.05 |
r6a.2xlarge | $0.17 |
m5zn.3xlarge | $0.17 |
t3.medium | $0.05 |
inf2.48xlarge | $0.50 |
r5n.metal | $0.50 |
m7a.large | $0.05 |
c6a.12xlarge | $0.50 |
Vendor refund policy
No refunds provided after usage starts.
How can we make this page better?
Legal
Vendor terms and conditions
Content disclaimer
Delivery details
64-bit (x86) Amazon Machine Image (AMI)
Amazon Machine Image (AMI)
An AMI is a virtual image that provides the information required to launch an instance. Amazon EC2 (Elastic Compute Cloud) instances are virtual servers on which you can run your applications and workloads, offering varying combinations of CPU, memory, storage, and networking resources. You can launch as many instances from as many different AMIs as you need.
Version release notes
openjdk21
Additional details
Usage instructions
-
Connection Method Connect via SSH as user 'ec2-user' to the running instance. Use sudo to run commands requiring root access, or switch to root using: sudo su - root
-
Application Details Check Version: java -version Compiler Version: javac -version Installation Directory: /usr/lib/jvm/java-21-openjdk Binary Path: /usr/bin/java (symlinked via alternatives) (Note: JAVA_HOME is typically /usr/lib/jvm/java-21-openjdk. You can set it in your shell profile: export JAVA_HOME=/usr/lib/jvm/java-21-openjdk)
-
Package Management OpenJDK 21 is installed via dnf. To update: sudo dnf update java-21-openjdk To verify installed packages: dnf list installed | grep java
-
Running Java Applications Compile a Java file: javac HelloWorld.java Run a compiled class: java HelloWorld Run an executable JAR: java -jar myapp.jar Enable virtual threads (example): java -jar myapp.jar --spring.threads.virtual.enabled=true
-
Network Configuration OpenJDK 21 is a runtime environment and does not listen on any ports by default. Open ports only as required by the Java application you deploy. Please allow SSH port 22 to limited IPs for access.
Support
Vendor support
If you encounter problems in the process of using the system, please feel free to contact us by email: support@thinkclouds.ai !
AWS infrastructure support
AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.