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.
Last question (I promise). I have for months now, attempted to get Java installed and running on my RedHat 9.1 box and it's been an effort in futility. Even when I use the "plugin finder" from Netscape's site, it always downloads and then tells me "permission denied" - even when I do this from root. What's more is that when I install the BIN file and go that route, I'm STILL not able to run Java applications either through a website or locally. I've about given up on this but thought I'd give it one more shot if any of you geniouses out there care to help a frustrated old man:-).
Go to Java.sun.org and get the 1.4.2 JRE linux .rpm.bin file. Follow the instructions. Check you've got the link to the java VM in your browser's plugin's folder.
1) First I have to fill out a lengthy form and "register"
2) Then I have to receive the email and verify
3) Next, I have to reply to that email
4) Wait for another email containing information
5) Download the Java SDK (Yeah, if I can FIND IT)
6) Take a 4 year course in advanced scripting
7) Install Java if I'm not to old by then
Thank's but I prefer my Java installations to be easy and pain-free. Sort of like heart surgery only at least they give you an anesthetic first!.
Ok, I downloaded the file. Do I need to just click on it from root or what exactly to I do with it?. Also what really confuses me is how to add a link to my browser's plugin's folder. How do I do this?
Ok, heres what I did and I can run Java applets and such in root but when I try to run them in the user mode, I get a message telling me that I need to install a plugin and I already did that!. Also, I still have no idea how to create a plugin link in my browser (Mozilla) or where I would find the "VM" itself to create such a link or wether the link would be an URL or a path. Anyway here you go...
For inquiries please contact: Sun Microsystems, Inc., 4150
Network Circle, Santa Clara, California 95054, U.S.A.
(LFI#124423/Form ID#011801)
Do you agree to the above license terms? [yes or no]
yes
Unpacking...
Checksumming...
0
0
Extracting...
UnZipSFX 5.40 of 28 November 1998, by Info-ZIP (Zip-Bugs@lists.wku.edu).
inflating: j2re-1_4_1_03-fcs-linux-i586.rpm
Done.
[root@localhost bandit]# ./j2re-1_4_1_03-fcs-linux-i586.rpm
bash: ./j2re-1_4_1_03-fcs-linux-i586.rpm: cannot execute binary file
[root@localhost bandit]# rpm -q j2re-1_4_1_03-fcs-linux-i586.rpm
package j2re-1_4_1_03-fcs-linux-i586.rpm is not installed
[root@localhost bandit]#
Could it be that I'm trying to run an i586 instead of an i386 file?
You dont run the file to install it. Try the official instructions.
I found the installation automatically added the symbolic link and changed other things, so I didnt need to do anything after the rpm command
If you have a processor better than I think a P2, then you have at least i586 architecture and can run i586, i386 and all below.
From erasing/uninstalling packages, use the PACKAGE_NAME not PACKAGE_FILE, so without the i586.rpm etc stuff.
So it seems to be installed. Next exact problem?
Well, I was able to uninstall the old one and install the new but when I go to a site that uses Java, I still get the same old message telling me that I need to install the Java-application/X mime thingy. Here the printout...
Since Mozilla is in constant development with new releases in every few months, I generally install it in my home directory. This is how I do it, plus installing java:
1.Download the latest Mozilla (get Mozilla 1.3.1, Mozilla 1.4 has issues with java).
2.Extract it in your home directory.
3.Click the "mozilla-installer" directory, click the "mozilla-installer" Shell script which will open a "Mozilla installer" window.
4.Click "Next"->"Accept"->"Change" for the destination directory and make the directory /home/TippyToes/mozilla.
5.Click "Next"->"Yes" and finally "Ok".
6.Visit a site which requires java, a window with "Default plugin" will pop-up, follow instructions to install java.
7. Once done, make a link (with icon) of your new installed Mozilla on taskbar, desktop and menus.
Notice: you don't need to be a root to do all those.
Good luck.
I am using Mozilla 3.1 and I just went to a site (javaboutique.com) and tried to display a Java applet which is when I was proposed to download the Java plugin. However, after downloading it, I received a message that said "permission denied". This has happened to me a number of times before too. Any suggestions?. This is really getting to be a hassle.
You didn't get me right; your Mozilla has been installed as "root"; mine was installed as "user" (i.e. Tuvok). Your mozilla was probably installed in the "/etc/local" directoy or another. I installed my Mozilla in my home director "/home/tuvok." When I install Mozilla, I never need to log as "root" to install anything. Do you get it? If you follow my how-to, install it in your home director, you should be able to install java without hickups.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.