0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

WSL2環境でAmazon Coretto(Java)をサクッとセットアップ

Posted at

この手順は、組織内プロキシが無いことを前提にしています。

amazon corettoのセットアップ

cd /app/web

curl -fsSL https://apt.corretto.aws/corretto.key -o /etc/apt/keyrings/coretto.asc
echo "deb [signed-by=/etc/apt/keyrings/coretto.asc] https://apt.corretto.aws stable main" | tee /etc/apt/sources.list.d/corretto.list

apt-get update
apt-get install -y java-21-amazon-corretto-jdk

maven3.9.9のセットアップ(オプション)

apt-get install -y maven
mvn wrapper:wrapper -Dmaven=3.9.9

いつもの(参考文献)

Install Amazon Corretto 21 on Debian-Based Linux

debian manpages

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?