![]() However, when you don't want to have both versions and if don't need Java 7 anymore. Keep both versions installed side by side, some other packages or programs might rely on Java 7. ", I assumed that you installed Java 7 from the Ubuntu repositories, which contain OpenJDK and did not add the WebUpd8 PPA (ORACLE Java).Īs you said that you get the File "/usr/bin/add-apt-repository", line 37 print _("The %s named '%s' has no PPA named '%s'" ^ Synta圎rror: invalid syntax error, have a look here. If you only want to install the Java Runtime Environment : sudo apt-get install openjdk-8-jreĪs you said ". ![]() To install Java version 8 ( OpenJDK 8 edition - not ORACLE Java 8) open a terminal and execute : sudo add-apt-repository ppa:openjdk-r/ppa You also cannot update a Java version to the next Java version, but you can install different Java versions side by side. (CVE-2017-3289) Update instructions: The problem can be corrected by updating your system to the following package versions: Ubuntu 14.04 LTS: icedtea-7-jre-jamvm 7u121-2.6.8-1ubuntu0.14.04.3 openjdk-7-jdk 7u121-2.6.8-1ubuntu0.14.04.3 openjdk-7-jre 7u121-2.6.8-1ubuntu0.14.04.3 openjdk-7-jre-headless 7u121-2.6.8-1ubuntu0.14.04. Java 8 is not available in the Ubuntu 12.04 repositories, but it is available from a Launchpad PPA. In a terminal, use the following command to install OpenJDK Java Development Kit: sudo apt install default-jdk. Try a quick apt-get update to get the latest package lists from repos, and then apt-cache search openjdk to check out what the latest offered version is.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |