0

I'm installing Java and I am following instructions since Ubuntu Linux is new to me. I don't have enough "reputation" to post a lot of links, so I made a slideshow explaining it. Does anyone more experienced than me know how to do this?

Click this to see slideshow

Hayden
  • 175
  • 7
  • Are you just looking for the java runtime? – Charles Green Oct 23 '16 at 00:06
  • No, java so I can run .jar files. – Hayden Oct 23 '16 at 00:08
  • You should already have everything you need for that - that is the runtime environment - see this question – Charles Green Oct 23 '16 at 00:11
  • 1
    So, Java Runtime Environment IS what you're looking for. Do not go that route: It's painful, time consuming and fraught with danger. You can install Java support from the official repositories. –  Oct 23 '16 at 00:11
  • If I type java into the command line it says: The program java can be found in the following packages...... – Hayden Oct 23 '16 at 00:17
  • In general, it is preferable to install software through Ubuntu's software repositories instead of going to a website and downloading it. L.D. James's answer tells you how to install Java from the repositories with one terminal command. – Nick Weinberg Oct 23 '16 at 01:03

1 Answers1

3

Bring up a terminal screen by typing terminal in the Ubuntu Dash Search. Then run this on the commandline (the dollar sign is the command prompt you see in the terminal):

$ sudo apt install default-jre

The image you posted is giving that as a suggestion.

L. D. James
  • 25,036