Setting path under Linux to recognize jre
Some years ago I installed Java in a computer, recently I had the chance to use this pc again to program, but when I try to run eclipse, it comes with this message:
"A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No java virtual machine was found after searching the following locations:
'java in your current PATH"
These are the directorys related to Java:
My doubt is: How can I set the path so that Java is recognized in my computer?
Thanks for the help