LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Java JDK (https://www.linuxquestions.org/questions/linux-newbie-8/java-jdk-627025/)

idgeitman 03-10-2008 01:46 PM

Java JDK
 
hello,

I just downloaded java JDK bin file and I typed:

chmod -x jdk-6u5-linux-i586.bin
then ./jdk-6u5-linux-i586.bin

and im getting a permission denied error

Anyone have any ideas why?

Thanks?

(Dist: Mandriva 2008)

~ Idgeitman

Curtor 03-10-2008 01:53 PM

Can you access it via the GUI? If you right click on it, and click on 'properties', and go to the 'permissions' tab at the top, is the 'Allow execution of this program' box checked?

jay73 03-10-2008 02:08 PM

You were supposed to type chmod +x (plus x, not minus).

And of course, you also need to make sure that you are root (su -) if you want to install it to, say, /usr or /opt.

By the way, Mandriva has the jdk in its repositories, why install it manually?

idgeitman 03-10-2008 03:17 PM

great thanks!

tor.ment0r 01-21-2010 02:53 PM

Quote:

Originally Posted by Curtor (Post 3084171)
Can you access it via the GUI? If you right click on it, and click on 'properties', and go to the 'permissions' tab at the top, is the 'Allow execution of this program' box checked?

LMAO


All times are GMT -5. The time now is 06:44 PM.