Find the answer to your Linux question:
Results 1 to 10 of 10
i just dunno how to! i download the RPM.bin for Sun, but it is not self executable! thanks....
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User
    Join Date
    May 2003
    Location
    Hong Kong, China
    Posts
    256

    how do i install java on linux?


    i just dunno how to! i download the RPM.bin for Sun, but it is not self executable!

    thanks.

    Signature removed by moderator - please see forum rules

  2. #2
    Linux Engineer
    Join Date
    Apr 2003
    Location
    Sweden
    Posts
    796
    Use the rpm command

    Code:
    rpm -ivh <your packagename>
    regards

    Regards

    Andutt

  3. #3
    Linux User
    Join Date
    May 2003
    Location
    Hong Kong, China
    Posts
    256
    Thanks mate! appreciated!

    Signature removed by moderator - please see forum rules

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Enthusiast
    Join Date
    Feb 2003
    Location
    Ontario, Canada
    Posts
    556
    don't forget to create the symbolic link to your browser too, if you want java enabled that way, see the software page of my guide for instructions.
    the link to the guide is below in my sig.

  6. #5
    Linux Engineer
    Join Date
    Dec 2002
    Location
    New Zealand
    Posts
    766
    if the last 6 letters are .rpm.bin u need to do "chmod 755 java1.4.whatever"

    this will give u exec permission to the file

    then just type "./java1.4.whatever"

  7. #6
    Linux User
    Join Date
    May 2003
    Location
    Hong Kong, China
    Posts
    256
    Gosh, this is really getting complicated, hm, i will try it out, man! thanks a lot for ya guys' help!

    :o
    Signature removed by moderator - please see forum rules

  8. #7
    Linux Engineer
    Join Date
    Nov 2002
    Location
    Queens, NY
    Posts
    1,319
    sky,

    If you have Sun's RPM.bin file, here's what you need to do.
    1. chmod u+x <RPM.bin> // substitute the file name without the brackets
    2. Run the file -> ./<RPM.bin>
    At this point, it should display the "Terms of Agreement." You'll need to specify an answer.
    Once that's done, it should self extract the actual RPM file that you can use. rpm -ivh <new file> should do the trick.
    If you want, download the non RPM binary from Sun. All you need to do is change the file permission and run the binary file. It'll do the same work. I used to use the RPM method when I had Redhat but since Debian came into the picture, I've been using the second method.
    The best things in life are free.

  9. #8
    Linux User
    Join Date
    May 2003
    Location
    Hong Kong, China
    Posts
    256
    guess what, i think linux is really amazing(perhaps annoying?), COS there are just so many(too many i think) freaking ways to install a programme! LOL. u'll never find it boring as u will never noe it all.................... there are always new things to come.................

    dunno if this is a good feature or not. ha ha ha



    :o
    Signature removed by moderator - please see forum rules

  10. #9
    Linux Engineer
    Join Date
    Nov 2002
    Location
    Queens, NY
    Posts
    1,319
    sky,

    First, can we type like humans here? By this I'm referring to sticking to the general uppercase, lowercase rules in the English language. It can get a bit annoying to read things when sentences contain mixed case.
    Secondly, installing programs in linux is harder than Windows. One of the reasons why I ported to Debian is because of this. Debian utilizes APT which makes all this work very simple. Regarding this case (installing Java), you probably won't run into dependency problems but I'll guarantee you that when you install other programs, you will run into problems. Debian's APT solves these dependency problems right away but since you think installing Java is annoying, you are in for a big surprise when you want to install other programs. Good luck.
    The best things in life are free.

  11. #10
    Linux User
    Join Date
    May 2003
    Location
    Hong Kong, China
    Posts
    256
    I see. Thanks.

    Signature removed by moderator - please see forum rules

Posting Permissions

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