Find the answer to your Linux question:
Results 1 to 8 of 8
I downloaded the following file from Sun's java website: j2re-1_4_1_01-linux-i586-rpm.bin I've tried "opening" this file by typeing "./j2re-1_4_1_01-linux-i586-rpm.bin" but it gives me the message "Permission Denied". What in the world ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User
    Join Date
    Nov 2002
    Posts
    420

    Problems with the Java runtime


    I downloaded the following file from Sun's java website:

    j2re-1_4_1_01-linux-i586-rpm.bin

    I've tried "opening" this file by typeing "./j2re-1_4_1_01-linux-i586-rpm.bin" but it gives me the message "Permission Denied". What in the world am I supposed to do with this file? I'm a noobie (obviously) so go easy on me.

  2. #2
    Linux User
    Join Date
    Jul 2002
    Location
    Daytona Beach, FL
    Posts
    487
    you need to make it executable first

    chmod 700 j2re-1_4_1_01-linux-i586-rpm.bin

    then

    ./j2re-1_4_1_01-linux-i586-rpm.bin

    then after the license agreement

    rpm -ivh j2re-1_4_1_01-linux-i586-rpm
    majorwoo

    Quiet brain, or I\'ll stab you with a Q-tip.

  3. #3
    Linux User
    Join Date
    Nov 2002
    Posts
    420
    Thanks! If you don't mind me asking, what does the "700" mean after the "chmod" command? Thanks again for your help.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux User
    Join Date
    Jul 2002
    Location
    Daytona Beach, FL
    Posts
    487
    chmod 700 file_name

    tells the file to be rwx------

    which is read, write, execute for the owner, and no permissions for group or other

    you may be used to seeind it done as something like

    chmod o+r file_name
    majorwoo

    Quiet brain, or I\'ll stab you with a Q-tip.

  6. #5
    Linux User
    Join Date
    Nov 2002
    Posts
    420
    Thanks again. I'm having more problems though. Whenever I put the java plugin into the mozilla plugins directory and go to a site with a java applet, mozilla just closes. I haven't a clue why it's doing this. Any help appreciated. I'm using RH8.0.

  7. #6
    Linux Enthusiast
    Join Date
    Jun 2002
    Location
    San Antonio
    Posts
    621
    make sure the plugin is there and working by typing "aboutlugins" in the address bar. You should see a bunch of things for java. If so then it is a mozilla/redhat problem. Try downloading the newest jdk (1.4.1 I think) and make sure you have the plugin from the ns610 directory linked into your plugin directory.
    I respectfully decline the invitation to join your delusion.

  8. #7
    Linux User
    Join Date
    Nov 2002
    Posts
    420
    Hmm... very strange. I must have been typing the command wrong. It's "ln", correct? Thanks for all your help anyway.

  9. #8
    Linux User
    Join Date
    Jul 2002
    Location
    Daytona Beach, FL
    Posts
    487
    yes ln - as in LiNk and ln -s means a symbolic link
    majorwoo

    Quiet brain, or I\'ll stab you with a Q-tip.

Posting Permissions

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