LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Help Needed with Linux RadHat 8.0 (https://www.linuxquestions.org/questions/linux-general-1/help-needed-with-linux-radhat-8-0-a-132241/)

LanoX 01-06-2004 09:20 PM

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 ...

Lost Penguin 01-07-2004 12:25 AM

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"

MartinN 01-07-2004 01:53 AM

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 :rolleyes: )

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 :p )
~> ./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! :cool:

Good luck
Martin

LanoX 01-07-2004 04:52 AM

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 ...

LanoX 01-07-2004 04:53 AM

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 :rolleyes: )

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 :p )
~> ./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! :cool:

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..

MartinN 01-07-2004 06:45 AM

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

LanoX 01-07-2004 01:05 PM

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..

LanoX 01-07-2004 10:47 PM

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

MartinN 01-08-2004 01:33 AM

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. :cool:

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
:confused: :confused: "This is Houston. Say again, please."

Regards
Martin

LanoX 01-08-2004 07:37 AM

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. :cool:

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.


:confused: :confused: "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
:scratch: not sure man wahts going on it preaty wierd ....

tnx heaps for your help ...

MartinN 01-08-2004 09:11 AM

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

LanoX 01-08-2004 04:27 PM

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


All times are GMT -5. The time now is 02:19 AM.