Err:12 http://security.ubuntu.com/ubuntu Focal-updates/main amd64 openjdk-11-jre-headless amd64 11.0.11+9-0ubuntu2~20.04
404 Not Found [IP: 91.189.88.152 80]
apt install openjdk-11-jre-headless ## The following error is reported when installing the java environment
2. Solution
apt update
3. Testing
apt install openjdk-11-jre-headless -y
root@DESKTOP-1N42TVH:/home/software/frontend# java --version openjdk 11.0.13 2021-10-19 OpenJDK Runtime Environment (build 11.0.13+8-Ubuntu-0ubuntu1.20.04) OpenJDK 64-Bit Server VM (build 11.0.13+8-Ubuntu-0ubuntu1.20.04, mixed mode, sharing)
Similar Posts:
- JAVA Command Error: A JNI error has occurred, please check your installation and try again [Solved]
- [Solved] E: dpkg was interrupted, you must manually run ‘dpkg –configure -a’ to correct the probl…
- gradle –version Error: ERROR: JAVA_HOME is set to an invalid directory: /usr/local/opt/openjdk
- [Java] deepin solves the problem of picked up in JDK_JAVA_Options:-AWT. Usesystemaafontsettings=gasp
- Linux Error: apt-get 404 not found [How to Solve]
- [Solved] NB: JAVA_HOME should point to a JDK not a JRE
- Linux Run javac Error: javac: command not found
- ubuntu “sudo: add-apt-repository: command not fou”
- Error: JAVA_HOME is not set [How to Solve]
- Multiple JDK switch and solution of could not find java.dll exception in win10 environment