I followed the instructions as per this webpage https://www.digitalocean.com/community/articles/how-to-install-java-on-ubuntu-with-apt-get
The following is the output
Setting up libxfont1:amd64 (1:1.4.6-1ubuntu0.1) … Setting up java-common (0.48ubuntu2) … Setting up oracle-java6-installer (6u45-0~webupd8~3) … Downloading Oracle Java 6… –2014-03-16 04:21:49-- http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-x64.bin Resolving download.oracle.com (download.oracle.com)… 22.214.171.124, 126.96.36.199 Connecting to download.oracle.com (download.oracle.com)|188.8.131.52|:80… connected. HTTP request sent, awaiting response… 302 Moved Temporarily Location: https://edelivery.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-x64.bin [following] –2014-03-16 04:21:49-- https://edelivery.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-x64.bin Resolving edelivery.oracle.com (edelivery.oracle.com)… 184.108.40.206 Connecting to edelivery.oracle.com (edelivery.oracle.com)|220.127.116.11|:443… connected. HTTP request sent, awaiting response… 302 Moved Temporarily Location: http://download.oracle.com/errors/download-fail-1505220.html [following] –2014-03-16 04:21:49-- http://download.oracle.com/errors/download-fail-1505220.html Connecting to download.oracle.com (download.oracle.com)|18.104.22.168|:80… connected. HTTP request sent, awaiting response… 200 OK Length: 5307 (5.2K) [text/html] Saving to: âjdk-6u45-linux-x64.binâ
0K 100% 454M=0s
2014-03-16 04:21:49 (454 MB/s) - âjdk-6u45-linux-x64.binâ saved [5307/5307]
Download done. Removing outdated cached downloads… sha256sum mismatch jdk-6u45-linux-x64.bin Oracle JDK 6 is NOT installed. dpkg: error processing oracle-java6-installer (–configure): subprocess installed post-installation script returned error exit status 1 No apport report written because MaxReports is reached already Setting up gsfonts (1:8.11+urwcyr1.0.7~pre44-4.2ubuntu1) … Setting up x11-common (1:7.7+1ubuntu6) …
Any ideas, i also the same issue even if install Jaav JDK 7?
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!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.