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)… 23.59.190.131, 23.59.190.130 Connecting to download.oracle.com (download.oracle.com)|23.59.190.131|: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)… 23.214.22.140 Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.214.22.140|: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)|23.59.190.131|: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!
Steps to install Java, <br> <br>apt-get update <br> <br>apt-get upgrade <br> <br>sudo apt-get install openjdk-6-jdk <br> <br>This solution had worked for me you can maybe try it out.
Why not use openjdk 7? <br> <br>Just do apt-get install openjdk-7-jdk openjdk-7-jre
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.