title: Install Java 8 in debian Jessie
body: <p>I've tried to install Java 8 into a ARM embedded linux in several ways but none of them worked:</p>
  
  <p>First: 
  <a href="http://www.webupd8.org/2014/03/how-to-install-oracle-java-8-in-debian.html">http://www.webupd8.org/2014/03/how-to-install-oracle-java-8-in-debian.html</a></p>
  
  <p>(from the repositories of webupd8) </p>
  
  <blockquote>
    <p>W: Failed to fetch
    <a href="http://ppa.launchpad.net/webupd8team/java/ubuntu/dists/trusty/InRelease">http://ppa.launchpad.net/webupd8team/java/ubuntu/dists/trusty/InRelease</a>
    Unable to find expected entry 'main/binary-armel/Packages' in Release
    file (Wrong sources.list entry or malformed file)</p>
    
    <p>W: Failed to fetch
    <a href="http://ppa.launchpad.net/webupd8team/java/ubuntu/dists/jessie/main/binary-armel/Packages">http://ppa.launchpad.net/webupd8team/java/ubuntu/dists/jessie/main/binary-armel/Packages</a>
    404  Not Found</p>
    
    <p>E: Some index files failed to download. They have been ignored, or old
    ones used instead.</p>
  </blockquote>
  
  <p>It seems that this repo does not have the source for my architecture:</p>
  
  <blockquote>
    <p>Architectures: amd64 arm64 armhf i386 powerpc ppc64el</p>
  </blockquote>
  
  <p>And i need armel ( at least this is working for java 7 )</p>
  
  <p>I also tried this way:
  <a href="http://www.rpiblog.com/2014/03/installing-oracle-jdk-8-on-raspberry-pi.html">http://www.rpiblog.com/2014/03/installing-oracle-jdk-8-on-raspberry-pi.html</a></p>
  
  <p>Downloading the jdk from Oracle and then following the instructions.</p>
  
  <p>But i cannot execute the file : </p>
  
  <blockquote>
    <p>root@arietta:~# java -version
    -bash: /usr/bin/java: No such file or directory</p>
  </blockquote>
  
  <p>and neither: </p>
  
  <blockquote>
    <p>root@arietta:~# /opt/jdk1.8.0_71/bin/java -version
    -bash: /usr/bin/java: No such file or directory</p>
  </blockquote>
  
  <p>While <strong>the file exists and has the correct permissions</strong>... i'm going crazy..</p>
  
  <p>Any idea or alternative method?</p>