BACKGROUND: I went to oracle.com and I downloaded the JDK. I moved the file to /usr/local/java. Afterwards, I set the path variable and JAVA_HOME in /etc/environment.
PROBLEM: I have a jar file in my downloads directory. Although I can go to terminal and use "java -jar" and it works, I want to be able to double click and execute the jar file.