• HEXUS
  • HEXUS.tv
  • channel
  • gaming
  • lifestyle
  • trust
  • community
  • ESReality
  • HEXUS.community discussion forumsVisit Corsair.com

    Welcome to the HEXUS.community discussion forums forums.

    You are currently viewing our boards as a guest which gives you limited access to view most discussions and other features. By joining our free community you will have access to post topics, respond to polls and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

    Go Back   HEXUS.community discussion forums > HEXUS.help - buying advice & technical queries > Operating systems & applications

    Operating systems & applications Looking for that application for Windows? needing advice with your Linux setup? - ask here! Add RSS Feed

    Reply
     
    LinkBack Thread Tools
    Old 16-12-2005, 10:36 PM   #1 (permalink)
    Gaming AKA Sacrilegious
     
    nvening's Avatar
     
    Join Date: Jan 2005
    Location: London
    Posts: 4,487
    Thanks: 130
    Thanked 15 Times in 15 Posts
    Linux - Install Java

    I have unbuntu and i am trying to insall java using these instructions

    http://java.com/en/download/help/5000010500.xml#install

    the problem is, when i try to enter the password, nothing comes up on screen (no *s or the actual word) and if i try to press enter to see if it has infact entered it it just says authentification has failed.

    Originally Posted by High Contrast
    Life is a paradox, i mean for me its all about be able to hold two opposing thoughts, in your head at the same time and still functioning... i mean, this is what the universe has taught me thus far... i mean contradiction just seems to be the very essence of things
    nvening is offline   Reply With Quote
    Old 16-12-2005, 10:54 PM   #2 (permalink)
    More l33t than dangel
     
    directhex's Avatar
     
    Join Date: Jul 2003
    Location: /dev/urandom
    Posts: 14,304
    Thanks: 42
    Thanked 389 Times in 281 Posts
    directhex's system
    right. firstly, ubuntu doesn't have a root account - if you want a root terminal, use 'sudo bash' and type YOUR password.

    secondly, installers like sun's don't work very well - they overwrite system files without asking, and usually don't set things up correctly for any distribution other than Red Hat Enterprise from a few years ago. ubuntu (via debian) offers a program called make-jpkg which takes the .bin and transforms it into a working .deb package - which you can then install with 'dpkg -i thefileyoumade.deb'

    do this by:

    1) as root, open /etc/apt/sources.list in an editor (e.g. nano /etc/apt/sources.list), and uncomment the lines relating to the 'universe' and 'multiverse' package repositories - this enables you to install more software
    2) as root, run 'aptitude update' to download a list of all the latest packages (including those on the repositories you just enabled)
    3) as root, run 'aptitude install fakeroot java-package java-common' to get the required utilities
    4) as a regular user, run 'fakeroot make-jpkg thefilefromsun.bin'
    5) install the new .deb file as root with 'dpkg -i sunwhatever.deb'

    java's not actually in most linux distributions already due to restrictive licensing from sun

    oh, and do NOT touch anything with 'rpm' in the name, it's for redhat
    directhex is offline   Reply With Quote
    Old 17-12-2005, 10:18 AM   #3 (permalink)
    Senior Member
     
    Join Date: Nov 2005
    Posts: 501
    Thanks: 0
    Thanked 0 Times in 0 Posts
    Originally Posted by directhex
    oh, and do NOT touch anything with 'rpm' in the name, it's for redhat
    Or Mandriva or Suse and that's just the ones from the top ten. I also believe it's possible to install the Sun Java RPM on Breezy using alien but I gather some messing around is required.

    Really I'm just posting this for completeness, the official method you posted is by far the better option
    GDVS is offline   Reply With Quote
    Old 17-12-2005, 10:44 AM   #4 (permalink)
    Gaming AKA Sacrilegious
     
    nvening's Avatar
     
    Join Date: Jan 2005
    Location: London
    Posts: 4,487
    Thanks: 130
    Thanked 15 Times in 15 Posts
    You say uncommet, do what? sorry

    I google it but could not find anything of use to me, there does not seem to be any keyboard shortcut set up for commenting.

    this is all new to me, thanks

    Originally Posted by High Contrast
    Life is a paradox, i mean for me its all about be able to hold two opposing thoughts, in your head at the same time and still functioning... i mean, this is what the universe has taught me thus far... i mean contradiction just seems to be the very essence of things
    nvening is offline   Reply With Quote
    Old 17-12-2005, 10:51 AM   #5 (permalink)
    Senior Member
     
    chrestomanci's Avatar
     
    Join Date: Sep 2004
    Location: Reading
    Posts: 1,223
    Thanks: 18
    Thanked 27 Times in 22 Posts
    chrestomanci's system
    The '#' symbols at the start of the lines denote comments.

    You will find some code lines in the file that are 'commented out' by putting '#' at the start. If you delete those #'s then the lines will become active.

    If you use a more advanced editor such as kate then the comment lines will show in a different colour, usualy grey or green.
    chrestomanci is offline   Reply With Quote
    Old 17-12-2005, 10:57 AM   #6 (permalink)
    Gaming AKA Sacrilegious
     
    nvening's Avatar
     
    Join Date: Jan 2005
    Location: London
    Posts: 4,487
    Thanks: 130
    Thanked 15 Times in 15 Posts
    For the lines with two #s, do i delete both or just one?

    How do i delete them, cause highlighting them and pressing backspace does not work.

    thanks

    Originally Posted by High Contrast
    Life is a paradox, i mean for me its all about be able to hold two opposing thoughts, in your head at the same time and still functioning... i mean, this is what the universe has taught me thus far... i mean contradiction just seems to be the very essence of things
    nvening is offline   Reply With Quote
    Old 17-12-2005, 11:08 AM   #7 (permalink)
    More l33t than dangel
     
    directhex's Avatar
     
    Join Date: Jul 2003
    Location: /dev/urandom
    Posts: 14,304
    Thanks: 42
    Thanked 389 Times in 281 Posts
    directhex's system
    sounds like you need something clicky. use gedit instead of nano.

    and the lines should look as follows:

    Code:
    ## 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 breezy universe
    # deb-src http://gb.archive.ubuntu.com/ubuntu breezy universe
    
    ## Uncomment the following two lines to add software from the 'backports'
    ## repository.
    ## N.B. software from this repository may not have been tested as
    ## extensively as that contained in the main release, although it includes
    ## newer versions of some applications which may provide useful features.
    ## Also, please note that software in backports WILL NOT receive any review
    ## or updates from the Ubuntu security team.
    # deb http://gb.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse
    # deb-src http://gb.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse
    
    deb http://security.ubuntu.com/ubuntu breezy-security main restricted
    deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted
    
    # deb http://security.ubuntu.com/ubuntu breezy-security universe
    # deb-src http://security.ubuntu.com/ubuntu breezy-security universe
    
    remove the # from the start of the lines to uncomment them:

    Code:
    ## 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 breezy universe
    deb-src http://gb.archive.ubuntu.com/ubuntu breezy universe
    
    ## Uncomment the following two lines to add software from the 'backports'
    ## repository.
    ## N.B. software from this repository may not have been tested as
    ## extensively as that contained in the main release, although it includes
    ## newer versions of some applications which may provide useful features.
    ## Also, please note that software in backports WILL NOT receive any review
    ## or updates from the Ubuntu security team.
    deb http://gb.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse
    deb-src http://gb.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse
    
    deb http://security.ubuntu.com/ubuntu breezy-security main restricted
    deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted
    
    deb http://security.ubuntu.com/ubuntu breezy-security universe
    deb-src http://security.ubuntu.com/ubuntu breezy-security universe
    
    actually, on reflection, those lines aren't quite complete. see some lines end only with 'universe' (e.g. deb http://security.ubuntu.com/ubuntu breezy-security universe)

    change those to 'universe multiverse':

    Code:
    ## 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 breezy universe multiverse
    deb-src http://gb.archive.ubuntu.com/ubuntu breezy universe multiverse
    
    ## Uncomment the following two lines to add software from the 'backports'
    ## repository.
    ## N.B. software from this repository may not have been tested as
    ## extensively as that contained in the main release, although it includes
    ## newer versions of some applications which may provide useful features.
    ## Also, please note that software in backports WILL NOT receive any review
    ## or updates from the Ubuntu security team.
    deb http://gb.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse
    deb-src http://gb.archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse
    
    deb http://security.ubuntu.com/ubuntu breezy-security main restricted
    deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted
    
    deb http://security.ubuntu.com/ubuntu breezy-security universe multiverse
    deb-src http://security.ubuntu.com/ubuntu breezy-security universe multiverse
    
    directhex is offline   Reply With Quote
    Old 17-12-2005, 12:34 PM   #8 (permalink)
    Agent of the System
     
    ikonia's Avatar
     
    Join Date: May 2004
    Location: South West UK (Bath)
    Posts: 3,665
    Thanks: 35
    Thanked 62 Times in 45 Posts
    or he could read the basic ubuntu docs......I find it pretty useful to know how to login to a box properly before trying to do stuff like installing java

    It is Inevitable.....

    ikonia is offline   Reply With Quote
    Old 18-12-2005, 12:57 PM   #9 (permalink)
    Gaming AKA Sacrilegious
     
    nvening's Avatar
     
    Join Date: Jan 2005
    Location: London
    Posts: 4,487
    Thanks: 130
    Thanked 15 Times in 15 Posts
    Ok, i have done that, now what do i do cause you said dont use that installer?

    Originally Posted by High Contrast
    Life is a paradox, i mean for me its all about be able to hold two opposing thoughts, in your head at the same time and still functioning... i mean, this is what the universe has taught me thus far... i mean contradiction just seems to be the very essence of things
    nvening is offline   Reply With Quote
    Old 18-12-2005, 01:17 PM   #10 (permalink)
    Gentoo Ricer
     
    Join Date: Jan 2005
    Location: /var/portage
    Posts: 5,722
    Thanks: 66
    Thanked 266 Times in 247 Posts
    aidanjt's system
    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.

    Originally Posted by Agent View Post
    ...every time Creative bring out a new card range their advertising makes it sound like they have discovered a way to insert a thousand Chuck Norris super dwarfs in your ears...
    Server Box -> Asus P5B-E Plus | C2D E6320 | 2x2GB GieL PC2-6400 | 6x500GB (md-raid5) | nVidia 7300LE | Ubuntu Server 9.10 (for now)
    Test Box -> P4E 3.2Ghz Rev. E0 | Asus P4C800-E Deluxe | 2x1GB PC3200 | 2x160Gb | nVidia TNT 2 | Gentoo (X86)

    Currently breaking: eINIT
    aidanjt is online now   Reply With Quote
    Old 18-12-2005, 02:35 PM   #11 (permalink)
    Gaming AKA Sacrilegious
     
    nvening's Avatar
     
    Join Date: Jan 2005
    Location: London
    Posts: 4,487
    Thanks: 130
    Thanked 15 Times in 15 Posts
    i am seriously considering scrapping linux as it has too many problems and is too much work compared to windows.

    Originally Posted by High Contrast
    Life is a paradox, i mean for me its all about be able to hold two opposing thoughts, in your head at the same time and still functioning... i mean, this is what the universe has taught me thus far... i mean contradiction just seems to be the very essence of things
    nvening is offline   Reply With Quote
    Old 18-12-2005, 02:54 PM   #12 (permalink)
    Ah, Mrs. Peel!
     
    mike_w's Avatar
     
    Join Date: Oct 2003
    Location: Hertfordshire, England
    Posts: 3,336
    Thanks: 3
    Thanked 9 Times in 7 Posts
    Directhex's way of doing it is probably the best way, but, as said you could always try using Blackdown from a Debian repository.

    Note: This may not work. Use at your own risk.

    In /etc/apt/sources.list, type this line:

    ftp://ftp.tux.org/java/debian/ sarge non-free

    Now, at a command line, type:

    sudo apt-get update
    sudo apt-get install j2re1.4

    As for Windows Vs. Linux... I won't get into the whole debate now, but I'll just say I prefer installing Linux over Windows. On Linux, rather than having to find all the different applications, I can install the vast majority just by typing apt-get install foo bar baz.

    Edit: Having looked at the Ubuntu Wiki, it seems Blackdown is in the multiverse repository. So once you've uncommented those two lines, you should just be able to type:

    sudo apt-get update
    sudo apt-get install j2re1.4

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

    Last edited by mike_w; 18-12-2005 at 03:02 PM..
    mike_w is offline   Reply With Quote
    Old 18-12-2005, 03:19 PM   #13 (permalink)
    Gaming AKA Sacrilegious
     
    nvening's Avatar
     
    Join Date: Jan 2005
    Location: London
    Posts: 4,487
    Thanks: 130
    Thanked 15 Times in 15 Posts
    would my linux life be easier with suse 10?

    Originally Posted by High Contrast
    Life is a paradox, i mean for me its all about be able to hold two opposing thoughts, in your head at the same time and still functioning... i mean, this is what the universe has taught me thus far... i mean contradiction just seems to be the very essence of things
    nvening is offline   Reply With Quote
    Old 18-12-2005, 03:22 PM   #14 (permalink)
    Ah, Mrs. Peel!
     
    mike_w's Avatar
     
    Join Date: Oct 2003
    Location: Hertfordshire, England
    Posts: 3,336
    Thanks: 3
    Thanked 9 Times in 7 Posts
    Originally Posted by nvening
    would my linux life be easier with suse 10?
    I personally think that SUSE 10.0 is more user friendly, but it is not worth installing it now that you've got Ubuntu installed, seeing as Ubuntu is also reasonably user friendly.

    "Well, there was your Uncle Tiberius who died wrapped in cabbage leaves but we assumed that was a freak accident."
    mike_w is offline   Reply With Quote
    Old 18-12-2005, 03:23 PM   #15 (permalink)
    Gaming AKA Sacrilegious
     
    nvening's Avatar
     
    Join Date: Jan 2005
    Location: London
    Posts: 4,487
    Thanks: 130
    Thanked 15 Times in 15 Posts
    forget that, me being stupid

    EDIT: I think there was a problem with the Unbuntu installation tho cause all the media players will not work.

    Originally Posted by High Contrast
    Life is a paradox, i mean for me its all about be able to hold two opposing thoughts, in your head at the same time and still functioning... i mean, this is what the universe has taught me thus far... i mean contradiction just seems to be the very essence of things

    Last edited by nvening; 18-12-2005 at 03:35 PM..
    nvening is offline   Reply With Quote
    Old 18-12-2005, 03:27 PM   #16 (permalink)
    Ah, Mrs. Peel!
     
    mike_w's Avatar
     
    Join Date: Oct 2003
    Location: Hertfordshire, England
    Posts: 3,336
    Thanks: 3
    Thanked 9 Times in 7 Posts
    Originally Posted by nvening
    it says what mike_w says is invalid
    Could you be a little more specific? Do you mean the Wiki, another website, the command line? What does 'it' say instead?

    "Well, there was your Uncle Tiberius who died wrapped in cabbage leaves but we assumed that was a freak accident."
    mike_w is offline   Reply With Quote
    Reply

    Breadcrumb
    Go Back   HEXUS.community discussion forums > HEXUS.help - buying advice & technical queries > Operating systems & applications


    Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
     
    Thread Tools

    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 On
    HTML code is Off
    Trackbacks are On
    Pingbacks are On
    Refbacks are On


    Similar Threads
    Thread Thread Starter Forum Replies Last Post
    ATi + Java + BSOD? Kezzer HEXUS.hardware 1 11-06-2005 12:26 PM
    Java Linux Raz316 Operating systems & applications 8 06-04-2005 08:35 AM
    We heard your feedback on Newegg.... DR General discussion 33 05-03-2005 07:13 PM
    Help! Lost discs and won't install linux. menthel Operating systems & applications 6 30-12-2004 02:30 PM
    Radeon 8500 linux driver install problems Dorza Operating systems & applications 0 22-09-2003 11:00 AM



    All times are GMT. The time now is 08:29 AM.

    Any representations/statements made on the HEXUS.community discussion forums are the representations/statements of the author i.e. the person/organisation making them. If any such representations/statements are disputed they are a matter between the parties concerned.
    HEXUS Limited accepts no responsibility for any misrepresentations, inaccurate or false statements made by any person/organisation other than HEXUS Limited employees.
    For more information please read HEXUS Limited's terms, conditions and privacy policy.

    Hosted Exchange

    Powered by vBulletin® Version 3.8.4
    Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
    Content Relevant URLs by vBSEO 3.3.2
    © Copyright 2009 HEXUS® Limited. All rights reserved. Unauthorised reproduction strictly prohibited.