Find the answer to your Linux question:
Results 1 to 4 of 4
Hello, I would like to install Java SDK. The files I could download for linux are with extension .bin: jdk-6u7-linux-i586-rpm.bin jdk-6u7-linux-i586.bin What do I have to do with this files ...
  1. #1
    Just Joined!
    Join Date
    Sep 2008
    Posts
    32

    Files with extension .bin

    Hello,

    I would like to install Java SDK. The files I could download for linux are with extension .bin:

    jdk-6u7-linux-i586-rpm.bin
    jdk-6u7-linux-i586.bin

    What do I have to do with this files to install them on linux? I have tried to do something with my package manager, but it doesn't recognize them, and seems to expects only .rpm, or tar and zipped files (.tgz, tar.gz, etc.). Even if I don't use the package manager, how to make use of the files, once I have downloaded them. Thanks a lot in advance.

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    What Linux distribution are you using. The rpm.bin file is for rpm based distros e.g. Fedora, openSUSE, Mandriva etc. The other bin file is for any distro. You first need to make the files executable e.g.
    Code:
    chmod +x jdk-6u7-linux-i586-rpm.bin
    After that run
    Code:
    ./jdk-6u7-linux-i586-rpm.bin
    For the rpm.bin file, some rpms will be extracted and you should use the rpm command to install them. For the non rpm bin file, a directory which contains the java environment will be extracted. Move it to wherever you want java to be located.

  3. #3
    Just Joined!
    Join Date
    Sep 2008
    Posts
    32
    Hi,
    I am using Slackware, so I've downloaded the other file jdk-6u7-linux-i586-rpm.bin, made it executable and run it, and it ran successfully. Thank you.

  4. #4
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    Quote Originally Posted by gemm View Post
    Hi,
    I am using Slackware, so I've downloaded the other file jdk-6u7-linux-i586-rpm.bin, made it executable and run it, and it ran successfully. Thank you.
    I'm happy to have helped.

Posting Permissions

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