1 個回答
- 最新
- 最多得票
- 最多評論
0
You can install and use Corretto 17 on your own using an ebextensions file. Inside your application bundle add a .ebextensions folder with a file name ending in .config" with this content:
packages:
rpm:
java17: https://corretto.aws/downloads/latest/amazon-corretto-17-x64-linux-jdk.rpm
container_commands:
01_alternatives_set:
command: sudo alternatives --set java /usr/lib/jvm/java-17-amazon-corretto.x86_64/bin/java
已回答 2 年前
相關內容
- 已提問 6 個月前
- AWS 官方已更新 1 年前
- AWS 官方已更新 8 個月前
- AWS 官方已更新 1 年前
- AWS 官方已更新 8 個月前