LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Having Java installation Problems on Ubuntu 10.10 (https://www.linuxquestions.org/questions/linux-newbie-8/having-java-installation-problems-on-ubuntu-10-10-a-860968/)

Mentate 02-05-2011 11:40 PM

Having Java installation Problems on Ubuntu 10.10
 
I have recently left windows for Linux. Because I am used to windows I am also used to the installation wizard that made installing programs easy. I'm finding difficulty in using the terminal for installation of Java. once I had made the download I moved the file into my home directory and used the terminal to install from there. But when I tried to install the Java SDK package I received this error message.

"Could not locate a suitable jar utility.
Please ensure that you have Java 6 or newer installed on your system
and accessible in your PATH or by setting JAVA_HOME"

it seems I did something wrong. I know this is probably just a major newbie mistake but any help would be appreciated.

Kenny_Strawn 02-06-2011 12:17 AM

Code:

sudo apt-get install openjdk-6*
Then, you can use all the Java apps you want to.


All times are GMT -5. The time now is 02:12 AM.