Jump to content

Java... Permission Denied ?!?!?


Guest joel1a
 Share

Recommended Posts

Ok, I'm new with linux. I have downloaded the mandrake linux 10.1. Loaded it without problems as a dual boot (windows). I have taken the beginners course @ linux.org that helped me figure out how to move around. But I need to load up java.... For games mostly :cheesy: and I was able to press Ctrl-alt-f6 get in as root user, make a /java dir in /usr and move the j2re-1_4_2_06-linux-i586-rpm.bin file there. When I try to run it (./) I get Permission Denied

 

WHY? It seems that the root is still off limits.... Please help. :help::thanks:

 

[moved from Software by spinynorman - welcome aboard :)]

Edited by joel1a
Link to comment
Share on other sites

you must make the .bin file executable. to do so, open a terminal as root & change to the directory where the .bin file is located. then, issue the following command........

 

chmod +x jdk-1_5_0_<version>-linux-i586.bin

 

where <version> is the actual version number.

 

then, you need to run the installer with this command........

 

./jdk-1_5_0_<version>-linux-i586-rpm.bin

 

that will create the .rpm file for installation. run that by doing the following.........

 

rpm -iv jdk-1_5_0_<version>-linux-i586.rpm

 

java will then be installed. all you'll need to do is get the plugins to work with various browsers. for a "how to", check HERE

 

Chris

Edited by chris z
Link to comment
Share on other sites

yes, all .bin must be chmod'd to make them executable.

 

congrats, glad you got it working! if you check this out again & are having no problems, could you please mark this thread as "solved"?

 

Chris

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...