Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-06-2011, 12:40 AM   #1
LQ Newbie
Registered: Feb 2011
Posts: 2
Blog Entries: 1

Rep: Reputation: 0
Question 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.
Old 02-06-2011, 01:17 AM   #2
Senior Member
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 56
sudo apt-get install openjdk-6*
Then, you can use all the Java apps you want to.
1 members found this post helpful.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Java installation problems loda117 Linux - Software 5 06-06-2006 05:39 AM
Problems while Java installation [RPM] in Linux akramkannan General 5 05-16-2006 05:22 AM
Java Installation problems lhuser Linux - Software 3 04-27-2006 05:30 PM
Java installation problems tamtam Linux - Software 7 11-22-2004 05:00 PM
Java installation problems assatron Linux - Software 0 03-24-2004 02:03 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:06 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration