Page 2 of 3 FirstFirst 123 LastLast
Results 17 to 32 of 42

Thread: Linux - Install Java

  1. #17
    lazy student nvening's Avatar
    Join Date
    Jan 2005
    Location
    London
    Posts
    4,656
    Thanks
    196
    Thanked
    31 times in 30 posts
    It says:

    root@ubuntu:/home/welcome # sudo apt-get install j2re1.4
    Reading package lists... Done
    Building dependency tree... Done
    Package j2re1.4 is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    E: Package j2re1.4 has no installation candidate
    So have i done something wrong or does it just not work?
    Last edited by nvening; 18-12-2005 at 04:37 PM.
    (\__/)
    (='.'=)
    (")_(")

  2. #18
    Agent of the System ikonia's Avatar
    Join Date
    May 2004
    Location
    South West UK (Bath)
    Posts
    3,736
    Thanks
    39
    Thanked
    75 times in 56 posts
    instead of being spoon fed from this forum as you appear to be with every topic,

    why not a.) re-read Directhex's detailed information b.) re-read Mikes useful snippet,
    and then c.) now this is the important one READ SOME DOCUMENTATION ON THE TOPIC YOUR DISCUSSING,

    Your using a new operating system, yet you have not even read the information for how to login to it, your using a new operating system and you've not even looked at the docs on how to manage the packages for this distro, pretty core reading to be able to use the operating system to a reasonable level.

    If you had read the basics of the documentation or even the cheat sheets on the web and then came with a specific question regarding a specific problem I would have more patience, but as your just being spoon fed, and then requesting more spoon feeding after some useful information, well, just poor show.
    It is Inevitable.....


  3. #19
    Ah, Mrs. Peel! mike_w's Avatar
    Join Date
    Oct 2003
    Location
    Hertfordshire, England
    Posts
    3,326
    Thanks
    3
    Thanked
    9 times in 7 posts
    That means that it can't find that package... did you put these lines in sources.list?

    Code:
    deb http://gb.archive.ubuntu.com/ubuntu breezy universe multiverse
    deb-src http://gb.archive.ubuntu.com/ubuntu breezy universe multiverse
    "Well, there was your Uncle Tiberius who died wrapped in cabbage leaves but we assumed that was a freak accident."

  4. #20
    lazy student nvening's Avatar
    Join Date
    Jan 2005
    Location
    London
    Posts
    4,656
    Thanks
    196
    Thanked
    31 times in 30 posts
    I think im going to go with suse cause unbuntu is getting on my nervs and suse looks better (and even the installer is really user friendly)

    The problem is: I am doing a network/internet installation and i have the link to where the files for the installer to download are

    http://ftp.opensuse.org/pub/opensuse...S/inst-source/

    but, the installer wants to know the ip not the domain, how do i find this?
    (\__/)
    (='.'=)
    (")_(")

  5. #21
    Ah, Mrs. Peel! mike_w's Avatar
    Join Date
    Oct 2003
    Location
    Hertfordshire, England
    Posts
    3,326
    Thanks
    3
    Thanked
    9 times in 7 posts
    Just so that you know, unless you reduce the packages you want to install, you'll end up downloading about 2GB of data (if memory serves - it is at least 1GB). Alternatively, you can download 5 CDs.

    Did you even try changing sources.list?
    "Well, there was your Uncle Tiberius who died wrapped in cabbage leaves but we assumed that was a freak accident."

  6. #22
    lazy student nvening's Avatar
    Join Date
    Jan 2005
    Location
    London
    Posts
    4,656
    Thanks
    196
    Thanked
    31 times in 30 posts
    This is what i have in my sources.list

    deb cdrom:[Ubuntu 5.04 _Hoary Hedgehog_ - Release i386 (20050407)]/ hoary main restricted


    ## Uncomment the following two lines to fetch updated software from the network
    deb http://gb.archive.ubuntu.com/ubuntu hoary main restricted
    deb-src http://gb.archive.ubuntu.com/ubuntu hoary main restricted

    ## Uncomment the following two lines to fetch major bug fix updates produced
    ## after the final release of the distribution.
    deb http://gb.archive.ubuntu.com/ubuntu hoary-updates main restricted
    deb-src http://gb.archive.ubuntu.com/ubuntu hoary-updates main restricted

    ## Uncomment the following two lines to add software from the 'universe'
    ## repository.
    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team, and may not be under a free licence. Please satisfy yourself as to
    ## your rights to use the software. Also, please note that software in
    ## universe WILL NOT receive any review or updates from the Ubuntu security
    ## team.
    deb http://gb.archive.ubuntu.com/ubuntu hoary universe multiverse
    deb-src http://gb.archive.ubuntu.com/ubuntu hoary universe multiverse

    deb http://security.ubuntu.com/ubuntu hoary-security main restricted
    deb-src http://security.ubuntu.com/ubuntu hoary-security main restricted

    deb http://security.ubuntu.com/ubuntu hoary-security universe multiverse
    deb-src http://security.ubuntu.com/ubuntu hoary-security universe multiverse

    deb http://gb.archive.ubuntu.com/ubuntu breezy universe multiverse
    deb-src http://gb.archive.ubuntu.com/ubuntu breezy universe multiverse
    (\__/)
    (='.'=)
    (")_(")

  7. #23
    Ah, Mrs. Peel! mike_w's Avatar
    Join Date
    Oct 2003
    Location
    Hertfordshire, England
    Posts
    3,326
    Thanks
    3
    Thanked
    9 times in 7 posts
    And what happens when you do apt-get update, or apt-get install j2re1.4?

    Just so that you know, I have nothing against SUSE - it's just a lot to download because Java doesn't work.
    Last edited by mike_w; 18-12-2005 at 06:13 PM.
    "Well, there was your Uncle Tiberius who died wrapped in cabbage leaves but we assumed that was a freak accident."

  8. #24
    lazy student nvening's Avatar
    Join Date
    Jan 2005
    Location
    London
    Posts
    4,656
    Thanks
    196
    Thanked
    31 times in 30 posts
    its not only java that wont work, all the media software will not work either.

    The first line works and i have done it, but the second comes up with this:

    root@ubuntu:/home/welcome # apt-get install j2re1.4
    Reading package lists... Done
    Building dependency tree... Done
    Package j2re1.4 is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    W: Couldn't stat source package list http://gb.archive.ubuntu.com breezy/universe Packages (/var/lib/apt/lists/gb.archive.ubuntu.com_ubuntu_dists_breezy_universe_binary-i386_Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://gb.archive.ubuntu.com breezy/multiverse Packages (/var/lib/apt/lists/gb.archive.ubuntu.com_ubuntu_dists_breezy_multiverse_binary-i386_Packages) - stat (2 No such file or directory)
    W: You may want to run apt-get update to correct these problems
    E: Package j2re1.4 has no installation candidate
    (\__/)
    (='.'=)
    (")_(")

  9. #25
    Ah, Mrs. Peel! mike_w's Avatar
    Join Date
    Oct 2003
    Location
    Hertfordshire, England
    Posts
    3,326
    Thanks
    3
    Thanked
    9 times in 7 posts
    Hmm, I'm not sure why that isn't working... sources.list seems to be right. I can't work out what's wrong, although somebody else may be able to.

    I assume you're running Ubuntu 5.04 Hoary at the moment? If so, you could always try Ubuntu 5.10 Breezy (or, as you said, SUSE).

    Regardless of what you choose, good luck! I hope you find Linux as good as I do
    "Well, there was your Uncle Tiberius who died wrapped in cabbage leaves but we assumed that was a freak accident."

  10. #26
    Ah, Mrs. Peel! mike_w's Avatar
    Join Date
    Oct 2003
    Location
    Hertfordshire, England
    Posts
    3,326
    Thanks
    3
    Thanked
    9 times in 7 posts
    Oh, and as for the SUSE installation, you can find a list of mirrors here:

    http://www.opensuse.org/Mirrors_Released_Version

    To find the IP address of any site, you can just ping the website e.g. when I type

    ping www.example.com

    The result is this:

    PING www.example.com (192.0.34.166) 56(84) bytes of data.

    And there's your IP.
    "Well, there was your Uncle Tiberius who died wrapped in cabbage leaves but we assumed that was a freak accident."

  11. #27
    Vive le pants! directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • MSI X99A Gaming 7
      • CPU:
      • Intel Core i7 5280k
      • Memory:
      • 32GiB ADATA DDR4
      • Storage:
      • Corsair Neutron XT 960GB
      • Graphics card(s):
      • MSI GTX 980 Gaming 4G Twin Frozr 5
      • PSU:
      • Corsair AX860i
      • Case:
      • NZXT H440
      • Operating System:
      • Ubuntu 17.10, Windows 10
      • Monitor(s):
      • Dell U2713HM
      • Internet:
      • FIOS
    Quote Originally Posted by aidanjt
    You could check if ubuntu has blackdown java, its a proper open source JVM, so it wont have the same installation problems as Sun's JVM.
    blackdown's a licensed re-package of sun java. it's not open source. gcj is open source though

  12. #28
    Vive le pants! directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • MSI X99A Gaming 7
      • CPU:
      • Intel Core i7 5280k
      • Memory:
      • 32GiB ADATA DDR4
      • Storage:
      • Corsair Neutron XT 960GB
      • Graphics card(s):
      • MSI GTX 980 Gaming 4G Twin Frozr 5
      • PSU:
      • Corsair AX860i
      • Case:
      • NZXT H440
      • Operating System:
      • Ubuntu 17.10, Windows 10
      • Monitor(s):
      • Dell U2713HM
      • Internet:
      • FIOS
    Quote Originally Posted by mike_w
    Hmm, I'm not sure why that isn't working... sources.list seems to be right. I can't work out what's wrong, although somebody else may be able to.

    I assume you're running Ubuntu 5.04 Hoary at the moment? If so, you could always try Ubuntu 5.10 Breezy (or, as you said, SUSE).

    Regardless of what you choose, good luck! I hope you find Linux as good as I do
    it's in breezy, but not hoary.

  13. #29
    The late but legendary peterb - Onward and Upward peterb's Avatar
    Join Date
    Aug 2005
    Location
    Looking down & checking on swearing
    Posts
    19,380
    Thanks
    2,892
    Thanked
    3,403 times in 2,693 posts
    Quote Originally Posted by nvening
    i am seriously considering scrapping linux as it has too many problems and is too much work compared to windows.
    No Linux doesn't have too many problems - but YOU DO! In one of the many threads you have posted about Linux, I suggested you buy some basic books on the subject - preferably one specific to your distro, but if not, then a generic text book on the basics of Linux. It is clear that you haven't done so. If you had, you might have some idea about what you are doing - and you might learn something by your own efforts! Understanding the basics of root and user privileges is pretty fundamental - if you haven't got that, there really isn't much hope for you! Stick to Windows where basic things are easy!

    As Ikonia said, you seem to want to be spoon fed all the time - you couldn't even be bothered to find out how to delete unwanted posts in your blogging software - it took 30 seconds on the help pages for me to point you in the right direction!

    Start learning to help yoursef - then you might getter better assistance when you really do have a difficult problem.

    Sorry to be harsh, but your whining is getting tedious!
    (\__/)
    (='.'=)
    (")_(")

    Been helped or just 'Like' a post? Use the Thanks button!
    My broadband speed - 750 Meganibbles/minute

  14. #30
    Ah, Mrs. Peel! mike_w's Avatar
    Join Date
    Oct 2003
    Location
    Hertfordshire, England
    Posts
    3,326
    Thanks
    3
    Thanked
    9 times in 7 posts
    Quote Originally Posted by directhex
    it's in breezy, but not hoary.
    I would have thought that adding the Breezy repositories would have let you download the package from there though... nevermind, your way is probably better anyway.
    "Well, there was your Uncle Tiberius who died wrapped in cabbage leaves but we assumed that was a freak accident."

  15. #31
    lazy student nvening's Avatar
    Join Date
    Jan 2005
    Location
    London
    Posts
    4,656
    Thanks
    196
    Thanked
    31 times in 30 posts
    The problem with me reading up on linux is that i cant be bothered, but there is a good reason for this:

    I only run linux on the PC that my parents use, just so i dont really have to worry about viruses, spyware, and thus crashing.

    The only reason i wanted to install java is that at the moment my ram for my pc is being RMAd and so i have no games to keep be busy, then i saw the java quake 2 and thought wow, ill install that, and thus had to install java.

    I never realised it would be such a challenge to install, considering in windows you simply double click the icon and click next. I am not very knowledgable in the subject cause i have not yet needed to. So i will just not bother with it, i am very sorry for anyone who has helped me, i didnt realse how difficult it could be.

    EDIT: i think peterb had it when he said:
    basic things are easy (with windows)
    Last edited by nvening; 18-12-2005 at 08:56 PM.
    (\__/)
    (='.'=)
    (")_(")

  16. #32
    smtkr
    Guest
    I think some people here are being a little ridiculous. Documentation for Linux is ubiquitous and it's hardly fair to tell a newbie to read a ton of documentation and buy a bunch of thick books before using Linux. When I first started, I received a lot of help via IRC for questions experts consider trivial. Granted, I was pretty good about crawling documentation, but if you are going to recommend documentation, make it more targeted. For example, if he needs to read documentation about logging in as a super user, point to a wiki entry instead of just saying, "RTFM!"

Page 2 of 3 FirstFirst 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. ATi + Java + BSOD?
    By Kezzer in forum PC Hardware and Components
    Replies: 1
    Last Post: 11-06-2005, 01:26 PM
  2. Java Linux
    By Raz316 in forum Software
    Replies: 8
    Last Post: 06-04-2005, 09:35 AM
  3. We heard your feedback on Newegg....
    By DR in forum General Discussion
    Replies: 33
    Last Post: 05-03-2005, 08:13 PM
  4. Help! Lost discs and won't install linux.
    By menthel in forum Software
    Replies: 6
    Last Post: 30-12-2004, 03:30 PM
  5. Radeon 8500 linux driver install problems
    By Dorza in forum Software
    Replies: 0
    Last Post: 22-09-2003, 12:00 PM

Posting Permissions

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