Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: problems installing JRE and Eclipse

  1. #1
    Join Date
    Nov 2011
    Beans
    12

    problems installing JRE and Eclipse

    I just installed UBUNTU 11.10 on my laptop.
    Have connection to the Internet.

    I am trying to install Java and Eclipse.
    There are few problem I have encountered.

    1. Eclipse does not find Java

    2. While trying to install Java JRE the sudo apt-get update - could not connect to any of the servers.
    More when I tried to Find best server, it gave me a message, no Internet connection. I have no problem finding packages in Mozilla. Am I missing some settings for Software Center or what?

    3. I downloaded jre1.6.0_29, unpacked and now I have a folder with some files in it. How to I know that this Java JRE is installed?

    Thank you for your help.

  2. #2
    Join Date
    Aug 2009
    Beans
    1,419

    Re: problems installing JRE and Eclipse

    Where did you download the jre from?

    Have you tried installing the openjdk from the Ubuntu Software Center?

  3. #3
    Join Date
    Nov 2011
    Beans
    12

    Re: problems installing JRE and Eclipse

    ubuntu software center cannot download anything

    it gets stuck during download

  4. #4
    Join Date
    Aug 2009
    Beans
    1,419

    Re: problems installing JRE and Eclipse

    Well, that seems like the first problem to solve.

    Open a terminal and type:
    Code:
    software-center
    Let's see if we can get that problem solved.

  5. #5
    Join Date
    Nov 2011
    Beans
    12

    Re: problems installing JRE and Eclipse

    2011-11-16 10:49:53,976 - softwarecenter.ui.gtk3.em - INFO - EM's: 17 15 21

  6. #6
    Join Date
    Nov 2011
    Beans
    12

    Re: problems installing JRE and Eclipse

    as you said I tried openjdk again.

    in the progress tab I can see
    Code:
    Updating Cache 
    Downloaded 0 B of 14 B
    it could stay like this forever
    Last edited by ub1922; November 16th, 2011 at 09:55 PM.

  7. #7
    Join Date
    Aug 2009
    Beans
    1,419

    Re: problems installing JRE and Eclipse

    So far, so good.

    Actually, close the software center, and type the following into a terminal:
    Code:
    sudo apt-get update
    It will prompt you for your password. Post the terminal output here.

    Also, please wrap the output in code tags.

  8. #8
    Join Date
    Nov 2011
    Beans
    12

    Re: problems installing JRE and Eclipse

    Code:
    ub1922@ub1922:~$ sudo apt-get update
    [sudo] password for ub1922: 
    E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
    E: Unable to lock directory /var/lib/apt/lists/
    E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
    E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
    ub1922@ub1922:~$
    I tried this as well

    sometimes it gives me this
    sometimes it gives me Err Unable to ....

  9. #9
    Join Date
    Jun 2008
    Location
    Singapore
    Beans
    160

    Re: problems installing JRE and Eclipse

    you must close the software centre before running apt-get

  10. #10
    Join Date
    Nov 2011
    Beans
    12

    Re: problems installing JRE and Eclipse

    I just restarted Ubuntu

    this is a typical output

    Code:
    Err http://ftp.de.debian.org sid InRelease                                                                                         
      
    Err http://ftp.de.debian.org sid Release.gpg                                                                                       
      Unable to connect to ftp.de.debian.org:http:
    Err http://archive.canonical.com oneiric InRelease                                                                                 
      
    Err http://extras.ubuntu.com oneiric InRelease                                                                                     
      
    Err http://my.archive.ubuntu.com hardy/main InRelease                                                                              
      
    Err http://my.archive.ubuntu.com hardy/multiverse InRelease                                                                        
      
    Err http://archive.canonical.com oneiric Release.gpg                                                                               
      Unable to connect to archive.canonical.com:http:
    Err http://extras.ubuntu.com oneiric Release.gpg       
      Unable to connect to extras.ubuntu.com:http:
    Err http://my.archive.ubuntu.com hardy/main Release.gpg
      Unable to connect to my.archive.ubuntu.com:http:
    Err http://my.archive.ubuntu.com hardy/multiverse Release.gpg
      Unable to connect to my.archive.ubuntu.com:http:
    0% [Connecting to us.archive.ubuntu.com (91.189.88.45)]
    it take way too long to go through all the sources...

    all of them give me error messages

Page 1 of 3 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •