LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 05-22-2007, 02:15 PM   #1
Rogu3
LQ Newbie
 
Registered: May 2007
Posts: 3

Rep: Reputation: 0
Problems installing java on Suse 10.2


Please excuse me if I posted this in the incorrect place, please move it to the correct area. Also please excuse me for not knowing the basics yet, I am trying to "beat the learning curve" but I fear the curve is currently winning.
I have been wanting to learn linux for some time now but have always been afraid to try, so last night I installed Suse 10.2 on an old PC. Started exploring around and was finding my self to like it a lot. Now my first problem has arisen and I have spent a good 3 hours on it even know it is very simple I just don't know what to do.

I am trying to install Java (jre-6u1-linux-i586.bin) on my pc. I logged on the Root konsole and made a folder for it under /usr/java/
Next i tried ./jre-6u1-linux-i586.bin
and i got -bash: ./jre-6u1-linux-i586.bin: Permission denied
I am sure I'm just making some really newbie mistake but help would be nice.

Thanks.
 
Old 05-22-2007, 03:50 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
As root (since you'll have to install it as root), type in "chmod 755 jre-6u1-linux-i586.bin" while you're in the same directory with the file.

Then run ./jre-6u1-linux-i586.bin The file got downloaded with no execute permissions, which isn't unusual.

Hope this helps.
 
Old 05-22-2007, 06:59 PM   #3
Rogu3
LQ Newbie
 
Registered: May 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Smile

That looks like it worked. If you have a second could you tell me what "chmod 755" in front of the "jre-6u1-linux-i586.bin". I know the chmod changes the access permissions but what about the 755? Also I have read that this java doesn't work as a plug in with firefox, do you know any thing about how to fix that? If not Thank you very much for getting me this far!

Last edited by Rogu3; 05-22-2007 at 07:18 PM.
 
Old 05-22-2007, 10:37 PM   #4
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
chmod 755 = change the permissions for the user/owner of the file(7), for users that belong to the same group as the owner (5) and for all other users (5).

The 7 -5 - 5 is a string of three sums:
4= read permissions
2 = write permissions
1 = execture permissions.
So someone who has all those permissions has 4 + 2 + 1 = 7; 5 = 4 +1, i.e. read and execute permissions. There are many variations on this: 640, 644, 660, 700 etc. - they all follow the same principle.

Java does work with firefox but not if it's the 64 version of the browser; but as a rule that can be solved by installing another plugin (nspluginwrapper or something like that).
 
Old 05-24-2007, 10:47 AM   #5
Rogu3
LQ Newbie
 
Registered: May 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Okay, I under stand. Thank you very much for explaining that. Also I will do some searching for that plug in. Thank you.
 
  


Reply



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
Problems installing java RArocks12 Linux - Newbie 5 01-15-2006 11:25 PM
installing java problems cold95 Ubuntu 1 12-28-2005 07:30 PM
Problems installing Java ursinus Linux - Newbie 21 08-25-2005 10:21 AM
problems with installing java 5 supersucker Linux - Software 2 12-05-2004 12:32 PM
problems installing java bond82 Linux - Software 8 08-30-2004 10:25 PM

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

All times are GMT -5. The time now is 06:20 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