Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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..
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"
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 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
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 ...
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 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..
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?
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..
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....
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
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 ....
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.
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.