LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-10-2008, 01:46 PM   #1
idgeitman
LQ Newbie
 
Registered: Apr 2006
Distribution: Mandriva 2008
Posts: 28

Rep: Reputation: 15
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

Last edited by idgeitman; 03-10-2008 at 01:47 PM.
 
Old 03-10-2008, 01:53 PM   #2
Curtor
Member
 
Registered: Feb 2008
Posts: 65

Rep: Reputation: 16
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?
 
Old 03-10-2008, 02:08 PM   #3
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
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?

Last edited by jay73; 03-10-2008 at 02:10 PM.
 
Old 03-10-2008, 03:17 PM   #4
idgeitman
LQ Newbie
 
Registered: Apr 2006
Distribution: Mandriva 2008
Posts: 28

Original Poster
Rep: Reputation: 15
great thanks!
 
Old 01-21-2010, 02:53 PM   #5
tor.ment0r
LQ Newbie
 
Registered: Oct 2009
Location: US
Distribution: Fedora
Posts: 16

Rep: Reputation: 0
Quote:
Originally Posted by Curtor View Post
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help installing the Java JDK CS_Student_DrewU Programming 2 07-14-2007 10:43 PM
compile java JDK 1.4 kernelvn *BSD 2 06-21-2005 09:42 PM
Java JDK 1.5.0.01 and Open Office 1.1.4 hazelnusse Linux - Software 0 01-19-2005 04:26 AM
adding java jdk to path snecklifter Linux - Newbie 4 11-01-2004 02:58 PM


All times are GMT -5. The time now is 08:40 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration