i am unable to install java8 on my ubuntu gcp machine : i have tried with the commands 

•	sudo add-apt-repository ppa:webupd8team/java
•	sudo apt-get update
•	sudo apt install oracle-java8-installer
but after i could see java was not installed on my ubuntu machine.it hits the error like unable to locate package oracle-java8-installer


sudo apt install oracle-java8-installer
reading package lists...done
Building dependency tree
Reading state information...Done
E:Unable to locate package oracle-java8-installer

Hoe should i resolve this can someone tell me briefly to solve this.