Find the answer to your Linux question:
Results 1 to 4 of 4
So, I'm new to linux, and currently I'm attempting to install java via a binary file, jre-6u17-linux-i586.bin, though when i type out the chmod x+ before it in the terminal, ...
  1. #1
    Just Joined!
    Join Date
    Jan 2010
    Posts
    2

    [SOLVED] Terminal troubles.

    So, I'm new to linux, and currently I'm attempting to install java via a binary file, jre-6u17-linux-i586.bin, though when i type out the chmod x+ before it in the terminal, it gives me an error saying "no such file or directory". I have tried as many different methods as i could think of, scoured at least 15 pages of google to no avail, and have nearly resorted to spending my life savings on hiring Nasa to send my computer into the nearest singularity, at which time I would cry with relief knowing that the machine and operating system that frustrated me so would soon be passing the event horizon, never to be seen again.

    Help, please?

  2. #2
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,145
    Hello and Welcome.
    Call NASA and tell them stand down, we have things under control here.
    Linux is case sensitive, so keep this in mind at all times. Lets say you downloaded the jre-6u17-linux-i586.bin to /home/GloomCircuit/Desktop, the first thing you need to do is change directory with the "cd" command.
    Code:
    cd  /home/GloomCircuit/Desktop
    Now verify the file is present with the "ls" command
    Code:
    ls
    You should see a listing of all the files in this directory...hopefully jre-6u17-linux-i586.bin is one of them.
    Now when you issue the chmod command, do it like this.
    Code:
    chmod +x jre-
    Press the tab button one time and it should auto complete the filename for you. If this doesn't work, then it probably means you are not in the right directory where you downloaded the file to.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  3. #3
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568
    Welcome to LF!!!
    Are you sure the file is in correct path?
    First try using ls command
    ls -l /YOURPATH/jre-6u17-linux-i586.bin
    Does this give you the file details?
    Then use chmod command
    chmod +x /YOURPATH/jre-6u17-linux-i586.bin
    ps: Most linux distro comes with java by default too. You can verify it by running
    a command like
    java
    MikeTbob, you beat me to it !!!
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

  4. #4
    Just Joined!
    Join Date
    Jan 2010
    Posts
    2
    Thanks Mike! Nice straightforward explanation =)

Posting Permissions

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