LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 01-06-2004, 09:20 PM   #1
LanoX
Member
 
Registered: Jan 2004
Distribution: RadHat 8.0
Posts: 31

Rep: Reputation: 15
Help Needed with Linux RadHat 8.0


Hi all well firstly i would like to say iam not that good with RadHat i use debian and was much better but i decided to swich back to RadHat as ppl use it more in bussiness wise and i think its great to know it.

but i got few problems i installed everythign with out any problems except few ...

well firstly i dont understan when u install rpm file i know it installs it for you auto but so far i tryed adn i got like errors saying needed this dependeci and list of file waht do u do when that shit comes up how do you get them?

and also i can view any java programs its says it need application/x-java-vm or somethign like that..

need help plz tnx ...
 
Old 01-07-2004, 12:25 AM   #2
Lost Penguin
Member
 
Registered: Feb 2003
Location: Orlando, FL
Distribution: 2.6.1-1.131smp on Fedora Core 1
Posts: 31

Rep: Reputation: 15
Re: Help Needed with Linux RadHat 8.0

Quote:
Originally posted by LanoX
well firstly i dont understand when you install a rpm file i know it installs it for you auto but so far i tried and i got like errors saying needed this dependecy and list of file what do you do when that shit comes up how do you get them?
I use apt or yum to install rpms, automatic dependency checks are great.
www.freshrpms.net is a start.
d/l apt
then install apt
then use the following as root:
apt-get update
apt-get install (whatever.rpm)

APT will install that rpm and any dependencies.
Quote:

and also i can view any java programs its says it need application/x-java-vm or somethign like that..
JAVA is from SUN
www.sun.com
After you install JAVA you will need to create symbolic links from /usr/bin/java to the "java"
 
Old 01-07-2004, 01:53 AM   #3
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
Hi LanoX and Welcome!

What do you mean by "view java programs"? Are you trying to view them in the Mozilla web browser? As Lost Penguin said, you need a Java plugin. Here is how you install it:

o Get the Linux RPM from this place: http://www.java.com/en/download/linux_manual.jsp
(remember where you put it )

o You should now have a file called 'j2re-1_4_2_03-linux-i586-rpm.bin' somewhere.

o Get root by issuing the 'su' command in a shell.

o Set write permissions to the file:
~> chmod 744 j2re-1_4_2_03-linux-i586-rpm.bin

o Execute the file and accept the license agreement (or decline it )
~> ./j2re-1_4_2_03-linux-i586-rpm.bin

o Now you should have a file named 'j2re-1_4_2_03-linux-i586-rpm'

o Install said file with the rpm tool:
~> rpm -ivh j2re-1_4_2_03-linux-i586.rpm

o Now you should make a symbolic link to the plugin:
~> cd /usr/lib/mozilla/plugins/
~> ln -s /usr/java/j2re1.4.2_03/plugin/i386/ns610-gcc32/libjavaplugin_oji.so

o Restart your browser

Let us know if this worked!

Good luck
Martin
 
Old 01-07-2004, 04:52 AM   #4
LanoX
Member
 
Registered: Jan 2004
Distribution: RadHat 8.0
Posts: 31

Original Poster
Rep: Reputation: 15
Re: Re: Help Needed with Linux RadHat 8.0

Quote:
Originally posted by Lost Penguin
I use apt or yum to install rpms, automatic dependency checks are great.
www.freshrpms.net is a start.
d/l apt
then install apt
then use the following as root:
apt-get update
apt-get install (whatever.rpm)

APT will install that rpm and any dependencies.


JAVA is from SUN
www.sun.com
After you install JAVA you will need to create symbolic links from /usr/bin/java to the "java"
hey yes i got that apt this but when i try to install the apt thing it says it need like 4 depndecies so i cant even install apt to use it ...
 
Old 01-07-2004, 04:53 AM   #5
LanoX
Member
 
Registered: Jan 2004
Distribution: RadHat 8.0
Posts: 31

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by MartinN
Hi LanoX and Welcome!

What do you mean by "view java programs"? Are you trying to view them in the Mozilla web browser? As Lost Penguin said, you need a Java plugin. Here is how you install it:

o Get the Linux RPM from this place: http://www.java.com/en/download/linux_manual.jsp
(remember where you put it )

o You should now have a file called 'j2re-1_4_2_03-linux-i586-rpm.bin' somewhere.

o Get root by issuing the 'su' command in a shell.

o Set write permissions to the file:
~> chmod 744 j2re-1_4_2_03-linux-i586-rpm.bin

o Execute the file and accept the license agreement (or decline it )
~> ./j2re-1_4_2_03-linux-i586-rpm.bin

o Now you should have a file named 'j2re-1_4_2_03-linux-i586-rpm'

o Install said file with the rpm tool:
~> rpm -ivh j2re-1_4_2_03-linux-i586.rpm




o Now you should make a symbolic link to the plugin:
~> cd /usr/lib/mozilla/plugins/
~> ln -s /usr/java/j2re1.4.2_03/plugin/i386/ns610-gcc32/libjavaplugin_oji.so

o Restart your browser

Let us know if this worked!

Good luck
Martin
hey i tryed what u said adn it all worked with no problems but still when i go 2 www.icq.com and i click on the java icq it doesnt work it says taht need application/x-java-vm somethign like that ...

and also y do u need to do chmod 744 on the file coz i done that on apt file and it worked but if i dont do that it simply said it needs this dependeci..

Last edited by LanoX; 01-07-2004 at 06:14 AM.
 
Old 01-07-2004, 06:45 AM   #6
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
I installed Java on my RedHat 8 box just a couple of days ago. That's why I remember the steps in such detail.

Try loading this applet to see if it works (it does on my machine):
http://www.tideswimming.com/NoviceExpertApplet.html

If it doesn't, shut down your browser completely, open a terminal shell and (as a normal user) type mozilla to start mozilla. Then go to a page with a Java applet and see if you get an error message in the terminal window.

You need to chmod the .bin-file because it's an executable and it didn't have the correct permissions right after download. If you had tried executing it then, you would only have got an error message.

Oh, one more thing. What version of mozilla are you using? The one that came with RedHat 8 (1.0.2 or something like that), or have you upgraded it yourself?

Regards
Martin
 
Old 01-07-2004, 01:05 PM   #7
LanoX
Member
 
Registered: Jan 2004
Distribution: RadHat 8.0
Posts: 31

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by MartinN
I installed Java on my RedHat 8 box just a couple of days ago. That's why I remember the steps in such detail.

Try loading this applet to see if it works (it does on my machine):
http://www.tideswimming.com/NoviceExpertApplet.html

If it doesn't, shut down your browser completely, open a terminal shell and (as a normal user) type mozilla to start mozilla. Then go to a page with a Java applet and see if you get an error message in the terminal window.

You need to chmod the .bin-file because it's an executable and it didn't have the correct permissions right after download. If you had tried executing it then, you would only have got an error message.

Oh, one more thing. What version of mozilla are you using? The one that came with RedHat 8 (1.0.2 or something like that), or have you upgraded it yourself?

Regards
Martin
nah its not working it says application/x-java-applet;version=1.4 on the link that u gave me above ....and also iam not sure waht versio running as i just apt-get dist-upgrade and i also updated everythign so not sure now i think everything should be updated to lates..
 
Old 01-07-2004, 10:47 PM   #8
LanoX
Member
 
Registered: Jan 2004
Distribution: RadHat 8.0
Posts: 31

Original Poster
Rep: Reputation: 15
Man i am not giving up. That is all i got to say but 1 thing is iam startign to get the shits man i updated distro and now i cant find anythign lol i dont know, i cant find the packages to add or remove like shit man i never though that linux is this hard....

helppppp meeeee sooooommmmmeeee ooonnnneeee ppppllllllzzzzzzzzzzz

far as i know ther was a program called packages uinde system tools where you where abel to remove and update packages. now its not there...

tnx
 
Old 01-08-2004, 01:33 AM   #9
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
Hi again, my friend.

My first advice to you now is to close your eyes, lean back and breathe steady and slowly for a couple of minutes.

Now, you should have the 'Packages' option, not under 'System Tools', but under 'System Settings' (I have mixed them up myself). If it's not there, then you could try to run the application from a terminal instead. Type:
~> /usr/bin/redhat-config-packages
We could get the icon back in the menus later if it's missing. One thing at a time though.

About your browser, did you try to run it from a command line to see if it gives an error about loading the Java plugin? You can see the version of your browser from the browser 'Help' > 'About' menu item. You could look at the 'About Plug-ins' too.

Quote:
That is all i got to say but 1 thing is iam startign to get the shits man i updated distro and now i cant find anythign lol i dont know, i cant find the packages to add or remove like shit man
"This is Houston. Say again, please."

Regards
Martin
 
Old 01-08-2004, 07:37 AM   #10
LanoX
Member
 
Registered: Jan 2004
Distribution: RadHat 8.0
Posts: 31

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by MartinN
Hi again, my friend.

My first advice to you now is to close your eyes, lean back and breathe steady and slowly for a couple of minutes.

Now, you should have the 'Packages' option, not under 'System Tools', but under 'System Settings' (I have mixed them up myself). If it's not there, then you could try to run the application from a terminal instead. Type:
~> /usr/bin/redhat-config-packages
We could get the icon back in the menus later if it's missing. One thing at a time though.

About your browser, did you try to run it from a command line to see if it gives an error about loading the Java plugin? You can see the version of your browser from the browser 'Help' > 'About' menu item. You could look at the 'About Plug-ins' too.


"This is Houston. Say again, please."

Regards
Martin
Hey sorry about bed spelling and my typing i know its preatty bad.
~> /usr/bin/redhat-config-packages<----- Well it says that there is no directory packages
and for the typing mozzila from terminal i dont that and it shows no errors what so ever
not sure man wahts going on it preaty wierd ....

tnx heaps for your help ...
 
Old 01-08-2004, 09:11 AM   #11
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
Hi again!

Sorry, English is not my native language. That's probably (part of) the reason why I have difficulty following you.

Let's drop the Java question for a little while and look at your problems with the package manager. Have you accidentally "upgraded" the package manager to a version that's not made for RedHat 8? You could probably get it back then. Boot with your RedHat CD and choose "Upgrade existing system". You will find the redhat-config-packages package under 'Applications' > 'System'.

Of course you could reinstall the entire system, but that would be like admitting defeat.

Regards
Martin
 
Old 01-08-2004, 04:27 PM   #12
LanoX
Member
 
Registered: Jan 2004
Distribution: RadHat 8.0
Posts: 31

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by MartinN
Hi again!

Sorry, English is not my native language. That's probably (part of) the reason why I have difficulty following you.

Let's drop the Java question for a little while and look at your problems with the package manager. Have you accidentally "upgraded" the package manager to a version that's not made for RedHat 8? You could probably get it back then. Boot with your RedHat CD and choose "Upgrade existing system". You will find the redhat-config-packages package under 'Applications' > 'System'.

Of course you could reinstall the entire system, but that would be like admitting defeat.

Regards
Martin
Yeah i guess i could do that but as u said it defeats the purpose .... yes i did upgrade from Rad Hat 8 to 9 i typed apt-get dist-upgrade or something like that but its preatty silly if you ask me that version 9 doesnt have packages?

or are they called something else in version 9 ?

tnx for ur help martin ...

Lano
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Radhat 7.3 to FC 3 slave2dna Fedora - Installation 0 02-11-2005 08:35 AM
perl problems with radhat 9.0 jmg1894 Linux - Newbie 1 07-16-2004 12:12 PM
apt-get where can I get it for RadHat Enterprise? crashedspine Red Hat 1 06-24-2004 03:15 AM
Installing Bugzilla on Radhat 9 turkhat Red Hat 1 05-18-2004 10:42 AM
uninstall radhat....pleaase help. 1980blue Linux - Newbie 2 02-06-2003 03:38 PM


All times are GMT -5. The time now is 04:14 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
Open Source Consulting | Domain Registration