Find the answer to your Linux question:
Results 1 to 5 of 5
hi i have slackware 12.2 installed in my machine. i am trying to install java. i downloaded jdk-6u11-linux-i586-rpm.bin . while trying Code: ./jdk-6u11-linux-i586-rpm.bin error message is : UnZipSFX 5.50 of ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie grishi_111's Avatar
    Join Date
    Oct 2007
    Location
    Jafarpur Sitharra(U.P.)/New Delhi, India
    Posts
    188

    Installing java


    hi i have slackware 12.2 installed in my machine.
    i am trying to install java. i downloaded jdk-6u11-linux-i586-rpm.bin .
    while trying
    Code:
    ./jdk-6u11-linux-i586-rpm.bin
    error message is :
    UnZipSFX 5.50 of 17 February 2002, by Info-ZIP (Zip-Bugs@lists.wku.edu).
    replace jdk-6u11-linux-i586.rpm? [y]es, [n]o, [A]ll, [N]one, [r]ename: a
    error: invalid response [a]
    replace jdk-6u11-linux-i586.rpm? [y]es, [n]o, [A]ll, [N]one, [r]ename: A
    inflating: jdk-6u11-linux-i586.rpm
    inflating: sun-javadb-common-10.4.1-3.1.i386.rpm
    inflating: sun-javadb-core-10.4.1-3.1.i386.rpm
    inflating: sun-javadb-client-10.4.1-3.1.i386.rpm
    inflating: sun-javadb-demo-10.4.1-3.1.i386.rpm
    inflating: sun-javadb-docs-10.4.1-3.1.i386.rpm
    inflating: sun-javadb-javadoc-10.4.1-3.1.i386.rpm
    error: Failed dependencies:
    /bin/basename is needed by jdk-1.6.0_11-fcs.i586
    /bin/cat is needed by jdk-1.6.0_11-fcs.i586
    /bin/cp is needed by jdk-1.6.0_11-fcs.i586
    /bin/gawk is needed by jdk-1.6.0_11-fcs.i586
    /bin/grep is needed by jdk-1.6.0_11-fcs.i586
    /bin/ln is needed by jdk-1.6.0_11-fcs.i586
    /bin/ls is needed by jdk-1.6.0_11-fcs.i586
    /bin/mkdir is needed by jdk-1.6.0_11-fcs.i586
    /bin/mv is needed by jdk-1.6.0_11-fcs.i586
    /bin/pwd is needed by jdk-1.6.0_11-fcs.i586
    /bin/rm is needed by jdk-1.6.0_11-fcs.i586
    /bin/sed is needed by jdk-1.6.0_11-fcs.i586
    /bin/sort is needed by jdk-1.6.0_11-fcs.i586
    /bin/touch is needed by jdk-1.6.0_11-fcs.i586
    /usr/bin/cut is needed by jdk-1.6.0_11-fcs.i586
    /usr/bin/dirname is needed by jdk-1.6.0_11-fcs.i586
    /usr/bin/expr is needed by jdk-1.6.0_11-fcs.i586
    /usr/bin/find is needed by jdk-1.6.0_11-fcs.i586
    /usr/bin/tail is needed by jdk-1.6.0_11-fcs.i586
    /usr/bin/tr is needed by jdk-1.6.0_11-fcs.i586
    /usr/bin/wc is needed by jdk-1.6.0_11-fcs.i586
    /bin/sh is needed by jdk-1.6.0_11-fcs.i586
    Installing JavaDB
    error: Failed dependencies:
    /bin/sh is needed by sun-javadb-core-10.4.1-3.1.i386

    Done
    i think these files are in place. then wwhy this error?
    please help.
    Sorry, Linux is not my passion .
    Its addiction!!!

  2. #2
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    I don't know Slackware well, but I would suggest trying the Slackware package.

    Package info and download slackware-current/jre-6u14-i586-1.txz

  3. #3
    Linux Newbie grishi_111's Avatar
    Join Date
    Oct 2007
    Location
    Jafarpur Sitharra(U.P.)/New Delhi, India
    Posts
    188
    thanks
    i wanted to use the download i had.
    i will download package for slackware.
    thanks again
    Sorry, Linux is not my passion .
    Its addiction!!!

  4. #4
    Linux Engineer Freston's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    1,049
    You took the self extracting rpm, rather than the self extracting generic package.

    Many dependencies it's complaining about are indeed not in /bin but in /usr/bin on a Slackware system.

    Try this one, the link reed9 gave is for Slackware current, which uses a slightly different packaging format (.txz). I don't think Slack 12.2 is forward compatible with it.
    Can't tell an OS by it's GUI

  5. #5
    Linux Newbie grishi_111's Avatar
    Join Date
    Oct 2007
    Location
    Jafarpur Sitharra(U.P.)/New Delhi, India
    Posts
    188
    oh yes all i needed was jdk not jre.
    but i got it from there in extra directory, you suggested is the same i started downloading.
    thanks for your reply mate!.
    Sorry, Linux is not my passion .
    Its addiction!!!

Posting Permissions

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