Update 'Installation-Java-8-JDK & Jetty 9'
parent
e1ef4c2573
commit
9060ed9c09
12
Installation-Java-8-JDK-%26-Jetty-9.md
Normal file
12
Installation-Java-8-JDK-%26-Jetty-9.md
Normal file
|
@ -0,0 +1,12 @@
|
|||
# Step 1: Install Java
|
||||
|
||||
```
|
||||
wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | sudo apt-key add -
|
||||
sudo add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/
|
||||
sudo apt update
|
||||
sudo apt install adoptopenjdk-8-hotspot
|
||||
sudo update-alternatives --config java
|
||||
java -version
|
||||
```
|
||||
|
||||
`sudo update-java-alternatives -l`
|
Loading…
Reference in New Issue
Block a user