![]() There can be no spaces before and after the environment variable parameters, otherwise javac will report an error. There are two levels of environment variables, one is the current user and the other is all users (you choose which file to change)ĥ.3. Sudo apt-get install openjdk-8-jre-headless If Java is not currently installed, you’ll see the following output: Output. Next, check if Java is already installed: java -version. To install this version, first update the package index: sudo apt update. sudo apt-get update first update the package list and install jdk failed By default, Ubuntu 20.04 includes Open JDK 11, which is an open-source variant of the JRE and JDK. ![]() The ubuntu installed on win10 system reports that jdk does not exist when zookeeper is installed, the following installation process of jdkĭirect installation failure report: E: Unable to locate package openjdk-8-jreĤ.1. sudo apt update sudo apt install openjdk-8-jdk openjdk-8-jre Conclusion So we have seen how you can install Java 8 (OpenJDK 8 ) on your Ubuntu 19.04 system using packages from Ubuntu 18.04 and a PPA.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |