LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   avoiding software manager breakdown (https://www.linuxquestions.org/questions/linux-newbie-8/avoiding-software-manager-breakdown-884671/)

Upendra Pratap Singh 06-05-2011 10:31 AM

avoiding software manager breakdown
 
Hi,

Few days back when I tried to install java application using software manager, I got the message that my software manager has broken down. Since then I was not able to install any of the applications either through terminal or the software manager, despite being given a lot of assistance from this forum

Luckily, I got another fresh copy of Linux Mint 10(Julia) installed on my laptop.

Please help me with some efficient method of installing the required applications(java and its associated applications) so that I do not face such problems again in the future.

alan_ri 06-05-2011 11:10 AM

I think Mint comes with Sun's java by default.

Check that with;
Code:

java -version
What do you want to install exactly?

TB0ne 06-05-2011 11:49 AM

Quote:

Originally Posted by Upendra Pratap Singh (Post 4376973)
Hi,
Few days back when I tried to install java application using software manager, I got the message that my software manager has broken down. Since then I was not able to install any of the applications either through terminal or the software manager, despite being given a lot of assistance from this forum

Luckily, I got another fresh copy of Linux Mint 10(Julia) installed on my laptop.

Please help me with some efficient method of installing the required applications(java and its associated applications) so that I do not face such problems again in the future.

Perhaps we could...if you actually TOLD US what the error(s) were, when you got them, and what you did. All we know by this post is that you tried to install SOMETHING, and it didn't work. Most Linux distros come with Java already...no idea what you mean by "associated applications".

Upendra Pratap Singh 06-05-2011 01:23 PM

when I entered the code

java -version on the terminal I got the following message


The program 'java' can be found in the following packages:
* gcj-4.4-jre-headless
* gcj-4.5-jre-headless
* openjdk-6-jre-headless
Try: sudo apt-get install <selected package>




Actually, I wanted to install eclipse-jdt application

alan_ri 06-05-2011 02:29 PM

Hmm... tell what kind of fresh copy of Linux Mint was that? Where did you get it?

Anyhow, post the output of;
Code:

sudo apt-get install eclipse-jdt

TB0ne 06-05-2011 05:08 PM

Quote:

Originally Posted by Upendra Pratap Singh (Post 4377099)
when I entered the code
"java -version" on the terminal I got the following message

The program 'java' can be found in the following packages:
* gcj-4.4-jre-headless
* gcj-4.5-jre-headless
* openjdk-6-jre-headless
Try: sudo apt-get install <selected package>

Ok...so did you enter what it told you??? Like "sudo apt-get install openjdk-6-jre-headless"? It gave you THREE choices on how to install Java.
Quote:

Actually, I wanted to install eclipse-jdt application
Ok...so then (as alan_ri stated) "sudo apt-get install eclipse-jdt", which will then pull in whatever it needs. But Eclipse isn't a Java program..it's an IDE. Java is separate.


All times are GMT -5. The time now is 12:08 PM.