You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
789 B
32 lines
789 B
3 years ago
|
---
|
||
|
id: debian-java-8-installieren
|
||
|
title: Java 8 installieren (Debian 10)
|
||
|
sidebar_label: Java 8 installieren
|
||
|
---
|
||
|
Installation von Java 8 auf Debian 10
|
||
|
|
||
|
|
||
|
|
||
|
### Installation
|
||
|
1. Zuerst updatest du deinen Server:
|
||
|
|
||
|
```sh
|
||
|
apt-get update
|
||
|
apt-get upgrade -y
|
||
|
```
|
||
|
2. Anschließend installiere die notwendigen Pakete:
|
||
|
|
||
|
```sh
|
||
|
apt install wget apt-transport-https gnupg ca-certificates software-properties-common dirmngr -y
|
||
|
wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add -
|
||
|
add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/
|
||
|
```
|
||
|
3. Im vorletzten Schritt aktulierst du den Server erneut.
|
||
|
```sh
|
||
|
apt update
|
||
|
```
|
||
|
4. Nun installierst du Java 8.
|
||
|
```sh
|
||
|
apt install adoptopenjdk-8-hotspot
|
||
|
```
|