This question already has an answer here:

i have downloaded the java 8 32 bit "jdk-8u171-linux-i586.tar.gz" and i have extract the folder "jdk1.8.0_171". Here my question is how to install jdk1.8.0_171

Please help me on this?

marked as duplicate by muru, Melebius, Thomas, Eric Carvalho, N0rbert Aug 21 '18 at 20:02

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


Use this repository for installing Java 8 without that tar.gz nonsense
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
I still can't believe that Oracle is not going to provide an official .deb file.


follow Ubuntu fix dependency problems then

sudo apt-get install oracle-java8-installer

Not the answer you're looking for? Browse other questions tagged or ask your own question.