LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-26-2006, 11:01 PM   #1
lhuser
Member
 
Registered: Apr 2006
Location: Canada
Distribution: OpenSUSE 10.3
Posts: 64

Rep: Reputation: 15
Java Installation problems


When I open Konsole, I type su and type my password. Nothing wrong there, but when I type:

linux:/home/lhuser # /home/lhuser/Desktop/jre-1_5_0_06-linux-i586-rpm.bin

I get this error:
bash: /home/lhuser/Desktop/jre-1_5_0_06-linux-i586-rpm.bin: Permission denied


Why is this bloody thing denied?
 
Old 04-26-2006, 11:08 PM   #2
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
What is the ouput of ls -l jre-1_5_0_06-linux-i586-rpm.bin ?

It sounds like the file doesn't have execute permissions. Use the command
Code:
 chmod +x jre-1_5_0_06-linux-i586-rpm.bin
to allow the file to be executed.

I hope this helps
--Ian
 
Old 04-27-2006, 04:25 PM   #3
lhuser
Member
 
Registered: Apr 2006
Location: Canada
Distribution: OpenSUSE 10.3
Posts: 64

Original Poster
Rep: Reputation: 15
Like this:

/home/lhuser/Desktop/chmod +x jre-1_5_0_06-linux-i586-rpm.bin

If so, it doesn't work. I get this:

chmod: No such file or directory
 
Old 04-27-2006, 05:30 PM   #4
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 52
What is wrong with what you tried is that chmod command is not in the directory named /home/lhuser/Desktop. chmod is a built-in command.

Let the file become executable
Code:
chmod +x /pathToDirectory/jre-1_5_0_06-linux-i586-rpm.bin
Code:
/pathToDirectory/jre-1_5_0_06-linux-i586-rpm.bin
A license will be shown, type q and after type yes.

The archive will be extracted to create a rpm. Type :
Code:
rpm -ivh /pathToDirectory/jre-1_5_0_06-linux-i586-rpm
Of course replace pathToDirectory by the directory where you downloaded the file.
 
  


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
JAVA JRE installation to view java applet through browser dipenchaudhary Linux - Software 1 01-23-2006 10:20 AM
LimeWire Installation Problems- No Java virtual machine could be found... DYNO Linux - Software 2 12-04-2004 12:59 PM
Java installation problems tamtam Linux - Software 7 11-22-2004 05:00 PM
Java installation problems assatron Linux - Software 0 03-24-2004 02:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration