Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi there.
“ppa:webupd8team/java” is not Oracle PPA, it’s a normal PPA made by a 3rd-party user (the creator of the website webupd8.org) and recommending installing Java from such repository claiming that it’s from Oracle is a huge security danger, please fix this.
Thank you.
To set JAVA_HOME environment variable, do the following:
Launch Terminal by pressing Ctrl+Alt+T on your keyboard. Enter the following command: $ gksudo gedit /etc/environment Depending on where you installed your Java, you will need to provide the full path. For this example, I installed Oracle JDK 7 in the /usr/lib/jvm/java-7-oracle directory. Scroll to the end of the file and enter the following: JAVA_HOME=/usr/lib/jvm/java-7-oracle export JAVA_HOME Save your file and exit gedit. Lastly, reload the system PATH with the following command: $ . /etc/environment The above method will save you the hassle in having to run the commands every time you log in to your computer. from https://askubuntu.com/questions/175514/how-to-set-java-home-for-java/175519#175519?newreg=fa5f6898f8c6478f8ec1f998f041d122
To automatically set JAVA_HOME simply use this export JAVA_HOME=“$(jrunscript -e ‘java.lang.System.out.println(java.lang.System.getProperty(“java.home”));’)”
Check success with echo $JAVA_HOME
When issuing the command: sudo add-apt-repository ppa:webupd8team/java You can get: sudo: add-apt-repository: command not found To solve this, do the next: sudo apt-get install software-properties-common And then rerun adding your repository.
Noticed this line in the installer there is a dead easy way to make Oracle Java 8 the default.
sudo apt-get install oracle-java8-set-default
After it’s installed of course. Makes it so much easier :-)
One thing that was missing for me, was how to install oracle jdk headless. But there is a silent option: echo debconf shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections echo debconf shared/accepted-oracle-license-v1-1 seen true | sudo debconf-set-selections
See: http://askubuntu.com/questions/190582/installing-java-automatically-with-silent-option
sudo add-apt-repository ppa:webupd8team/java
No matter how many time i run the above command i keep getting the following error
gpg: keyring /tmp/tmpicu6zv49/secring.gpg' created gpg: keyring /tmp/tmpicu6zv49/pubring.gpg’ created
gpg: requesting key EEA14886 from hkp server keyserver.ubuntu.com
gpgkeys: HTTP fetch error 7: couldn’t connect: eof
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
gpg: keyserver communications error: keyserver unreachable
gpg: keyserver communications error: public key not found
gpg: keyserver receive failed: public key not found