Find the answer to your Linux question:
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 28
I am trying to download Java Runtime Environment I don't know what a terminal is and what console is and really don't know the codes they are giving me. Is ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2005
    Posts
    12

    help with Java! just installed linux


    I am trying to download Java Runtime Environment

    I don't know what a terminal is and what console is and really don't know the codes they are giving me. Is there anywhere I can just download a version of Java that would self-install with 'software installer'?

    Or, could someone (I know I am asking for a lot) guide me step by step through the process on AIM?

    Thanks!

  2. #2
    Linux User truoc444's Avatar
    Join Date
    Aug 2005
    Location
    Southern Roots, Stuck in the Mountains
    Posts
    348
    what OS are you running? depending on the os there are repositories you can just add then update it. i know you can for Suse anyway i'm sure you can with others. As far as AIM goes why not just use Gaim or Kopete or something like that.
    Desktop: Dual Xeon 2.8 GHz 1.5 GB RAM Ubuntu/XP Pro
    Laptop: Macbook 2 GHz C2Duo 3 GB RAM OS X/ Ubuntu/ XP Pro
    Linux Registration #396559

    Go 'Stros!

  3. #3
    Linux Engineer spencerf's Avatar
    Join Date
    Jan 2005
    Location
    Syracuse, NY
    Posts
    1,144
    first: A console/terminal is something you need to learn about. If you do not want to then linux is not for you. That said, the console depeding on your distro will be a little computer monitor looking thing on your desktop or somewhere in your application menu. Click on it. It will open up a box with your computer name a blinking cursor.

    for example steve@tux:`

    it is here where you enter commands.

    now once you have found this then you can download the jre software from here. http://java.sun.com/j2se/1.4.2/download.html select the one with JRE in it and download the linux self extracting binary. Then you have to change permissions on this binary to execute you do this by:

    Code:
    chmod +x nameoffileyouarechangingpermissions.on
    now you need to move this file to where you want java installed. I'm not sure about other systems but with Gentoo it is: /opt

    so try it there unless others know different:
    Code:
     mv nameoffileyouwant.moved /opt
    now go to opt
    Code:
     cd /opt
    to look at files in that directory type
    Code:
     ls
    to run the file do:
    Code:
     ./nameoffileyouwantto.run
    this should install java for you...........I hope
    All right, brain. You don't like me and I don't like you, but let's just do this and I can get back to killing you with beer. All New Users Read This!!! If you have a grub problem please look at GRUB MANUAL

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru bryansmith's Avatar
    Join Date
    Nov 2004
    Location
    /Ontario/Canada
    Posts
    2,619
    What file did you download? There is the RPM (in a bin) and the bin.

    Bryan
    Looking for a distro? Look here.
    "There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
    Queen's University - Arts and Science 2008 (Sociology)
    Registered Linux User #386147.

  6. #5
    Linux Guru AlexK's Avatar
    Join Date
    Feb 2005
    Location
    Earth
    Posts
    3,379
    Since you posted this in the Mandriva forum, I would suggest you setup urpmi. Then when you want to install programs in Mandriva, simply open up a Terminal (or console windoe, its icon looks like a little tv), then type the following:

    Code:
    su -  <---- become root user
    <enter root password>
    urpmi program_name
    Since you want to install java, replace program_name with java. Urpmi will then search its list of servers and find packages called Java. if it doesn't find an exact package, it will list all packages containing the word java. You will then be prompted to install what you think is the correct package by typing urpmi correct_name_of_package.
    Life is complex, it has a real part and an imaginary part.

  7. #6
    Just Joined!
    Join Date
    Nov 2005
    Posts
    12
    I believe I know what a console is and I do WANT to learn. I am just new at this and know nothing about linux at the moment.

    Is console the 'emulator' in konqueror?

    I type su and then it enters and now I need to type my pass. But it doesn't LET me type. I just type and type and nothing is typed. Only command that works is enter and then they tell me that pass was in-correct...

    I download RPM in bin

  8. #7
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    The reason that it seems that you are not typing is that instead of ****'s, a more secure method to obfuscate your password is used:
    Code:
    stty -echo
    which prevents what you typed from being output on screen. Just put in your password ( even though you can't see it ) and press enter.

  9. #8
    Just Joined!
    Join Date
    Nov 2005
    Posts
    12
    alright! thanks, now pass works fine.

    After pass, I write:

    /usr/local
    I also tried to write cd Desktop instead too

    then its the chmod code...

    chmod a+x jre-1_5_0-linux-i586-rpm.bin

    It says:

    chmod: cannot access `jre-1_5_0_05-linux-i586-rpm.bin': No such file or directory

    What's wrong?


    Again, thanks and I really appreciate all the help

  10. #9
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    Type:
    Code:
    cd ~/Desktop
    and try again.

  11. #10
    Just Joined!
    Join Date
    Nov 2005
    Posts
    12
    WOW

    That worked! Thanks a lot

    Extracting...
    UnZipSFX 5.42 of 14 January 2001, by Info-ZIP (Zip-Bugs@lists.wku.edu).
    inflating: jre-1_5_0_05-linux-i586.rpm
    Preparing... ########################################### [100%]
    1:jre ########################################### [100%]

    Done.

    The next instructions are: In filemanager, navigate to ~/Desktop.
    Alt-Click the RPM package.
    Move the mouse cursor to Open With ... in the context menu
    Select Software Installer in the pop out menu.

    Where's filemanager?

    And THANKS A LOT

Page 1 of 3 1 2 3 LastLast

Posting Permissions

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