… and it tells me 1.7.0_51 IcedTea etc. I haven't found an OpenJDK version of Java8, so I tried the usual technique of unzipping the Oracle download into /usr/java (which I have created and given “campbell” ownership of).sudo apt-get install openjdk-7-jdk
javac -version
java -version
Same download in my home directory as I had last week. I repeated the download and got the same error. It is different from the error for Oracle Java7, which I haven't actually got installed at the moment.campbell@xxxxx:~$ /usr/java/jdk1.8.0_05/bin/java -version
bash: /usr/java/jdk1.8.0_05/bin/java: cannot execute binary file: Exec format error
campbell@xxxxx:~$ /usr/java/jdk1.7.0_55/bin/java -version
bash: /usr/java/jdk1.7.0_55/bin/java: No such file or directory
Campbell Ritchie wrote:I thought I knew how to install Java®, but it doesn't seem to work on Ubuntu14.04. Maybe I shouldn't have installed it when it first came out. Until early this week, I used Ubuntu 13.10 on a Chromebook and Java7 and Java8 both worked nicely. Not on Ubuntu14.04, however.
I can try… and it tells me 1.7.0_51 IcedTea etc. I haven't found an OpenJDK version of Java8, so I tried the usual technique of unzipping the Oracle download into /usr/java (which I have created and given “campbell” ownership of).sudo apt-get install openjdk-7-jdk
javac -version
java -versionSame download in my home directory as I had last week. I repeated the download and got the same error. It is different from the error for Oracle Java7, which I haven't actually got installed at the moment.campbell@xxxxx:~$ /usr/java/jdk1.8.0_05/bin/java -version
bash: /usr/java/jdk1.8.0_05/bin/java: cannot execute binary file: Exec format error
campbell@xxxxx:~$ /usr/java/jdk1.7.0_55/bin/java -version
bash: /usr/java/jdk1.7.0_55/bin/java: No such file or directory
Anybody else seen that sort of thing? I shall probably revert to Ubuntu13.10 for a bit.
Shall probably ask the same question on www.linuxforums.com

Campbell Ritchie wrote:I don't think Oracle supply SHAs or other checksums, but I started with the same download I had used previously, and replaced it with a new download, so I don't think that was the problem.
And thank you
ld: i386:x86-64 architecture of input file `/usr/local/java/jdk1.8.0_05/bin/java' is incompatible with i386 output
No i586 versions in the jdks or the isos.campbell@xxxxx:~$ cd Downloads/
campbell@xxxxx:~/Downloads$ ls u*
ubuntu-13.10-desktop-amd64.iso ubuntu-14.04-desktop-amd64.iso
campbell@xxxxx:~/Downloads$ ls jdk*
jdk-7u55-linux-x64.rpm jdk-7u55-linux-x64.tar.gz jdk-8u5-linux-x64.tar.gz
Campbell Ritchie wrote:Thank you, but as far as I can see I have only had 64 bit versions:
No i586 versions in the jdks or the isos.campbell@xxxxx:~$ cd Downloads/
campbell@xxxxx:~/Downloads$ ls u*
ubuntu-13.10-desktop-amd64.iso ubuntu-14.04-desktop-amd64.iso
campbell@xxxxx:~/Downloads$ ls jdk*
jdk-7u55-linux-x64.rpm jdk-7u55-linux-x64.tar.gz jdk-8u5-linux-x64.tar.gz
Campbell Ritchie wrote:I got it to work by reinstalling Ubuntu13.10. I am now using the upgrade function rather than the .iso, and I shall see what happens.
And thank you for your help.
)Regards,
Anayonkar Shivalkar (SCJP, SCWCD, OCMJD, OCEEJBD)
