Java JRE Linux install problems

Discussion in 'Linux' started by kovan, Nov 14, 2008.

  1. kovan

    kovan

    Joined:
    Nov 9, 2008
    Messages:
    5
    Likes Received:
    0
    I tried to install using the instructions form http://macles.blogspot.com/2008/09/inst ... e-one.html

    After downloading the RPM and cut and paste sudo bash Downloads/jre-6u7-linux-i586-rpm.bin in the terminal i get error message:

    audit_log_user_command(): Connection Refused
    bash: Downloads/jre-6u7-linux-i586-rpm.bin: No such file or directory

    Can Someone please help I've searched endlessly to no avail.....Thank you.
     
    kovan, Nov 14, 2008
    #1
  2. kovan

    rbil

    Joined:
    Aug 14, 2008
    Messages:
    730
    Likes Received:
    0
    Location:
    The Wet Coast, Canada
    Try this in a terminal:

    cd /mnt/home/Downloads
    sudo ./jre-6u7-linux-i586-rpm.bin

    or if that doesn't work, try this:

    sudo bash /mnt/home/Downloads/jre-6u7-linux-i586-rpm.bin

    Cheers.
     
    rbil, Nov 14, 2008
    #2
  3. kovan

    cinecho_star

    Joined:
    Nov 10, 2008
    Messages:
    8
    Likes Received:
    0
    I have the same issue installing Java jre but the solution doesn't work for me....that's what the terminal says:

    [user@localhost ~]$ cd /mnt/home/Downloads
    [user@localhost Downloads]$ su
    Password:
    [root@localhost Downloads]# sudo ./jre-6u7-linux-i586-rpm.bin
    sudo: ./jre-6u7-linux-i586-rpm.bin: command not found
    audit_log_user_command(): Connection refused
    [root@localhost Downloads]# ./jre-6u7-linux-i586-rpm.bin
    bash: ./jre-6u7-linux-i586-rpm.bin: No such file or directory
    [root@localhost Downloads]# sudo bash /mnt/home/Downloads/jre-6u7-linux-i586-rpm.bin

    what can i do?
     
    cinecho_star, Dec 14, 2008
    #3
  4. kovan

    stupidsing

    Joined:
    Nov 26, 2008
    Messages:
    1
    Likes Received:
    0
    You have to make the file executable.

    Code:
    chmod 755 jre-6u7-linux-i586-rpm.bin
    normal permission is 644 (rw-r--r--), executable file uses 755 (rwxrw-rw-).
     
    stupidsing, Dec 14, 2008
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.