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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I already downloaded java runtime file, jre-1.5.0-linux-i586-rpm.bin but when i run it from mozilla firefox 2, it prompt "could not be opened,because the associated helper application does not exist. Change the association in your preference." What does it means ?
In my collection of .rpms I have this: jre-1_5_0_09-linux-i586.rpm
I cannot find it through a Google search or at Sun Java's site, I believe I renamed it when I acquired it in the past, removing the .bin, I just tried to install LimeWireLinux on my Fedora 6 x86_64 and got an error because LimeWire requires a minimum java version-1.4, so I went to the directory where that file is and installed it with rpm install command:
rpm -ivh jre-1_5_0_09-linux-i586.rpm
Then installed LimeWireLinux rpm with similar command without error and am downloading. I've always used this particular file when I run into that problem, installing it the same way and everything appears to be cool, one simple command, easy to remove also as it is in rpm data base. I have a multi-boot system with multiple copies of same operating systems for casual use and testing purposes. I'm not saying that is what you should do, but it works for me.
Last edited by Junior Hacker; 01-30-2007 at 11:14 PM.
It got error like below after i type that command;
./jre-1_5_0_10-linux-i586-rpm.bin: line 1: syntax error near unexpected token `<'
./jre-1_5_0_10-linux-i586-rpm.bin: line 1: `<HTML><HEAD><TITLE>Error</TITLE></HEAD><BODY>'
I was just recommending installation instructions from Sun Java's site based on the name of the file.
Did you try Sepero's quote from his/her second post, I visited that site Sepero mentioned, and that appears to be what you should try. Assuming you are trying to install this in a Fedora system as you did not mention specifically. I know under your distributions list you have Fedora 3 & Solaris, but that's not to say that you are trying to install this in Fedora. As for the "helper application" error you originally got, I'm at a lost.
If you are installing Java because another application you are trying to install asks for a version above 1.4, maybe you should check the update site for your specific distribution and see which is the latest java rpm and attempt to install it, in any case, if this is Fedora 3, try what Sepero says. The jpackage according to the blue jpackage link says it is for building Java packages.
I was just recommending installation instructions from Sun Java's site based on the name of the file.
Did you try Sepero's quote from his/her second post, I visited that site Sepero mentioned, and that appears to be what you should try. Assuming you are trying to install this in a Fedora system as you did not mention specifically. I know under your distributions list you have Fedora 3 & Solaris, but that's not to say that you are trying to install this in Fedora. As for the "helper application" error you originally got, I'm at a lost.
If you are installing Java because another application you are trying to install asks for a version above 1.4, maybe you should check the update site for your specific distribution and see which is the latest java rpm and attempt to install it, in any case, if this is Fedora 3, try what Sepero says. The jpackage according to the blue jpackage link says it is for building Java packages.
ok i read Sepero's post and i try the "yum install java-1.4.2-gcj-compat" but it prompt
'Parsing package install arguments
Nothing to do' .
Maybe it's installed already, would have been nice to know which distribution this is.
In Fedora 6, if you go through main menu/system/Add/Remove Software, (while on the internet) and let it scan for a while, (this is yum also), then click on the "List" tab, you would have a large list of packages, the ones with a check mark next to them are packages installed, to remove a package you remove the check mark and hit "Apply". To add a package you put a check mark in the empty box and hit "Apply".
You should have something similar if this is Fedora, check and see what's the scoop, maybe it's already installed which is why you can't install it.
I noticed in your profile you changed from Fedora 3 to Fedora 6.
Here's what I do.
In KDE, click on main menu/system/more applications/File Manager super user mode, go to the directory where you have the jre-1_5_0_10-linux-i586-rpm.bin file, right click on it and select "Rename", change the name so it is like this:
jre-1_5_0_10-linux-i586-rpm
Remove the .bin from it's name. Now from terminal as root, go to the same directory and issue rpm install command as such:
rpm -ivh jre-1_5_0_10-linux-i586-rpm
And hit enter, rpm will install it and that should do it.
I noticed in your profile you changed from Fedora 3 to Fedora 6.
Here's what I do.
In KDE, click on main menu/system/more applications/File Manager super user mode, go to the directory where you have the jre-1_5_0_10-linux-i586-rpm.bin file, right click on it and select "Rename", change the name so it is like this:
jre-1_5_0_10-linux-i586-rpm
Remove the .bin from it's name. Now from terminal as root, go to the same directory and issue rpm install command as such:
rpm -ivh jre-1_5_0_10-linux-i586-rpm
And hit enter, rpm will install it and that should do it.
Sorry for not mentioned which distro I use, just upgraded from fc3 to fc6. After renaming the .bin, it got error
error: open of <HTML><HEAD><TITLE>Error</TITLE></HEAD><BODY> failed: No such file or directory. I try 'java version' and i get the following error message,
Exception in thread "main" java.lang.NoClassDefFoundError: version
at gnu.java.lang.MainThread.run(libgcj.so.7rh)
Caused by: java.lang.ClassNotFoundException: version not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at java.net.URLClassLoader.findClass(libgcj.so.7rh)
at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.7rh)
at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
at gnu.java.lang.MainThread.run(libgcj.so.7rh)
Same error you got trying to install it the way Sun Java recommends.
Well, I'm just about out of suggestions, but the more we keep talking about it, the more this thread will be seen as it will stay towards the top of the first page.
Have you tried un-installing the java-1.4.2-gcj-compat via main menu/system/Add\Remove Software by removing the check mark and hit apply, then re-try installing the newer one you have using the two methods starting with the one from Sun Java's site with the link I provided. you can re-name it back to jre-1_5_0_10-linux-i586-rpm.bin to try Sun's instructions. Also, there is a newer version at Sun Java's site, version 1.6 I believe, try it also. If all fails you can turn around and issue command from terminal:
yum install java
Or if that does not work use full name as such:
yum install java-1.4.2-gcj-compat
Last edited by Junior Hacker; 02-04-2007 at 12:38 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.