Find the answer to your Linux question:
Results 1 to 10 of 10
Hi, I was going to play a game online that requires java, but my browser (Google chrome) says that I don't have the plugin. I downloaded the self-extracting file (not ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2011
    Posts
    16

    Angry trying to install java


    Hi, I was going to play a game online that requires java, but my browser (Google chrome) says that I don't have the plugin.

    I downloaded the self-extracting file (not the redhat one) and am following this page: java.com/en/download/help/linux_install.xml

    But when I get to the directions at type into terminal

    Code:
    chmod a+x jre-6u<version>-linux-i586.bin
    replacing <version> with the version I have (24), I get:
    Code:
    chmod: cannot access `jre-6u24-linux-i586.bin': No such file or directory
    even if i try sudo su, and I know the package has downloaded, so...
    What do I do?

  2. #2
    Just Joined!
    Join Date
    Apr 2011
    Posts
    5
    cd to the directory where jre-6u24-linux-i586.bin is located and enter "sudo chmod a+x jre-6u24-linux-i586.bin"

  3. #3
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    just use tab to complete filename, start typing jre then tab to complete the rest

    alternatively, use ls command and then copy/paste filename

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Mar 2011
    Posts
    16
    Can someone explain all of that in n00b terms? .__. I don't understand most of any of that.

  6. #5
    Linux Guru rokytnji's Avatar
    Join Date
    Jul 2008
    Location
    Desert
    Posts
    4,167
    Quote Originally Posted by linucksnewb View Post
    Can someone explain all of that in n00b terms? .__. I don't understand most of any of that.
    Maybe this downloadable pdf manual will help.

    http://www.google.com/url?sa=t&sourc...h4iP0amr6oZ8CQ
    Linux Registered User # 475019
    Lead,Follow, or get the heck out of the way. I Have a Masters in Raising Hell
    Tech Books
    Free Linux Books
    Newbie Guide
    Courses at Home

  7. #6
    Just Joined!
    Join Date
    Apr 2011
    Posts
    5
    When a command like chmod returns: "cannot access `jre-6u24-linux-i586.bin': No such file or directory", it is telling you that the file (in this case the jre* file) is either not in the current directory (the directory you were in when you issued the command) or is not spelled correctly.

    Enter "ls jre*" at the shell prompt to see if it's in the current directory. If it isn't, use the manual suggested in rokytnji's post to find the file and get into it's current directory.

    Once the file is in your current directory, do as coopstah13 suggested: type "chmod a+x jre" and press the Tab key. The shell will auto-complete the filename. Now you can just press enter to issue the command.

  8. #7
    Linux User
    Join Date
    Sep 2008
    Location
    UK
    Posts
    358
    Open a terminal and cd to the directory you downloaded the java .bin file.
    Now type:
    su
    (enter the root pwd when prompted)
    then type:
    sh ./java(restof name).bin
    and then
    enter

    The easy way is to enable the packman repository and download the suse package rpm from there or go to:
    software.opensuse.org/search and do a search for java or jave-sun (can't remember which offhand)

  9. #8
    Just Joined!
    Join Date
    Mar 2011
    Posts
    16
    ... Okay. I think I've done it.
    It unpacked a load of stuff and then said "Done."
    But Java things still don't work, and I don't use firefox? What do I do now?
    Edit: I do have firefox and I opened it to see if it was just chrome being bunk, it doesn't work in firefox either (and I checked in both browsers to make sure that it was enabled, which it is)
    Last edited by linucksnewb; 04-10-2011 at 12:43 PM.

  10. #9
    Just Joined!
    Join Date
    Mar 2011
    Posts
    16
    Bumping for answers to last post... :l It still isn't working.

  11. #10
    Linux User
    Join Date
    Sep 2008
    Location
    UK
    Posts
    358
    Thr result of running the .bin file should be that it also creates an rpm for you which is in the same directory as the .bin file.
    So when you type:
    Code:
    su -c 'sh ./jre_name_.bin'
    you should now have a file called jre_name_.rpm
    you can now run
    Code:
    su -c 'rpm -ivh jre_name_.rpm'
    to install it.

    I'm not running suse at the moment, but if you go to yast2>software and then add the packman repo, you should get suse's packaged install for java. search along the lines of sun-java or oracle and you should find it.

Posting Permissions

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