![]() Then run command to install Java 8 installer and accept license when it prompts: sudo apt-get install oracle-java8-installer Open terminal and run command to add the PPA: sudo add-apt-repository ppa:webupd8team/javaĢ. Webupd8 Team maintains a PPA repository that contains Oracle Java 8 installer scripts for all current Ubuntu releases.ġ. Install Oracle Java JDK 8 in Ubuntu 18.04: Finally check your java version via java -version and javac -version: If not, run command: sudo apt-get install oracle-java10-set-defaultģ. Once installed, Oracle Java 10 should be automatically set as default. Then run command to install the package, and accept the license before it automatically downloading and installing JDK 10: sudo apt-get install oracle-java10-installer Type your password (no asterisks while typing) when it prompts and hit Enter to continue.Ģ. When it opens, run command to add the PPA: sudo add-apt-repository ppa:linuxuprising/java Open terminal either via Ctrl+Alt+T or by searching for ‘ terminal‘ from app launcher. ![]() ![]() The packages in the PPA automatically download and install Oracle JDK 10 from Oracle web server.ġ. Note that due to licensing, the PPA does not contain Java binaries. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |