ive taken these steps to try and install Java 8 on my 12.04 LTS server.
http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html
i had an error when running trying to intall the java installer so i tried:
Tip: if you're behind a firewall / router that blocks some of the
redirects required to download the Oracle Java archive, you can download
the JDK tar.gz archive manually and place it under /var/cache/oracle-
jdk8-installer - then, installing the "oracle-java8-installer" package
will use the local archive instead of trying it to download it itself.
but when running apt-get install oracle-java8-installer again, it does not use the cached file, it tries to download it again but fails, actually it really doesnt seem to fail the download, the download actually happens, and the installer appears in the cache directory. heres the error output:
proxy sent request, awaiting response... 404 OK
2015-07-24 08:36:25 ERROR 404: OK.
download failed
Oracle jdk 8 not installed
dpkg error processing oracle-java8-installer (--configuer):
subprocess installed poit-installation script returned error exit status 1
errors were encountered while processing:
oracle-java8-installer
E: sub-process /usr/bin/dpkg returned an error code (1)
strangely, even though it said there was an error, the package exists in the cahce directory, to be safe i downloaded the tar manually, then i tried to follow the second answer from:
Install .tar.gz and .tar files?
runnning tar -xvvf [filename.tar.gz] works and seems to extract everything to a folder
after that im not sure how to use ./configure, running it as a command doesnt work.
can anyone guide me through the installation of Java8 on Ubuntu 12.04 LTS!