1

I have jdk-6u32-linux-x64.bin saved on my "Home" location. When I open the terminal to extract and run the .bin, I get a "No such file or directory" error. I've searched around and can't seem to find anything to fix this. See below for attempted commands:

root@anon-K52F:~# ./jdk-6u32-linux-x64.bin

-bash: ./jdk-6u32-linux-x64.bin: No such file or directory

root@anon-K52F:~# chmod +x jdk-6u32-linux-x64.bin

chmod: cannot access ‘jdk-6u32-linux-x64.bin’: No such file or directory

I am running Ubuntu 14.04.3

If anyone has any insight on this, please let me know.

  • Try checking with ls if you really have that file with that name OR Try entering j and then pressing Tab twice to see a list of all files and folders starting with j. It may be that you are misspelling the filename. – Ashhar Hasan Dec 12 '15 at 8:40
  • 1
    On second thought, whose Home is that (where the file is)? There are different homes for root users and normal users. – Ashhar Hasan Dec 12 '15 at 8:41
2

No such file or directory simply means there is no such file named jdk-6u32-linux-x64.bin in your current working directory.


BTW, Oracle Java (JDK) 6 / 7 / 8 / 9 is available to install from WebUpd8-team's PPA

  1. Open a terminal and enter:

    sudo add-apt-repository ppa:webupd8team/java
    
  2. To pull down the latest list of packages from the PPA you just added:

    sudo apt-get update
    
  3. To install JDK 6

    sudo apt-get install oracle-java6-installer
    

But this requires a working internet connection.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.