I'm having a hard time installing Java

edited May 2017 in Using Processing

I was able to make it to Step 5 before reaching this error:

srn@srn-Inspiron-1545:~/Downloads$ sudo cp -r jdk-8u20-linux-x64.tar.gz /usr/local/java/

cp: cannot stat ‘jdk-8u20-linux-x64.tar.gz’: No such file or directory

Answers

  • i receive this message despite seeing "jdk-8u131-linux-x64.tar.gz" in red when I type "ls" in downloads directory

  • Answer ✓

    Nevermind, I got Java installed.

  • I don't have ubuntu. Can you type: apt list java* (This will list all packages that starts with java that you can install)

    Also try apt list jre* or apt list jdk*

    If you get positive results in any of those, then try for example "apt install jre" or you will need a more specific name from the listing command. I have to say I am surprise ubuntu doesn't have java available.... Notice to run the command "apt install ..." you will need administrator privileges.

    Kf

  • Problem is solved, downloaded filename version number didn't exactly match the one in the instructions.

Sign In or Register to comment.