LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   java will not work in redhat 9 (https://www.linuxquestions.org/questions/linux-software-2/java-will-not-work-in-redhat-9-a-87074/)

shanenin 08-29-2003 03:28 PM

java will not work in redhat 9
 
Has anyone had trouble getting java to work with mozilla1.4? I have been trying for several days. I have used the auto installer that you get when mozilla clicks on a sight that needs java. When I use that method it installs the program and makes a sybolic link to libjavaplugin_oji.so for me. I have tried installing using rpms, then adding the symbolic like myself. Any method I use or any version I install gives me the same results. When I check "about plug-ins" it does not show up.

I still love linux, but am getting frustrated.

I am using redhat 9 , with mozilla 1.4

slackmagic 08-29-2003 03:33 PM

http://www.linuxquestions.org/questi...threadid=86292

hope this helps :)

Bobmeister 08-29-2003 03:45 PM

Yes, the thread that retiredsoldier is posting is good. However, I still think it might be easier to use the NON rpm method as there seems to be more control over the installation.

Also, the suggestion to put the plugin link in a home directory is good, but if you want a global installation for any users, you should put the link in the plugin directory of mozilla itself. This will ensure that everyone who has an account can use java.

This java thing has been a problem for Mozilla as there are a lot of builds floating around. The main thing is that the java has to be built from the same version GCC as that copy of Mozilla.

prior to 1.4, ALL MOZILLA BUILDS OF MOZILLA were built on GCC 1.95. Starting with 1.4 MOZILLA builds are on GCC 3.2. If you build it yourself, note what GCC you have and get an appropriate build of Java. From SUN 1.4.1 is on 2.95. 1.4.2 is on 3.2, however, I think that they have a provision for using another file that will work with the 2.95 build of GCC.

slackmagic 08-29-2003 03:53 PM

i haven't tried the other method yet, so I was only able to post about what I did using the rpm method (besides RH is a rpm disto :P)

Yeah, I definetely could have set the symlink for the entire system and so to speak for all users to have java, but since I'm the only one using my own computer, I didn't think it was neccessary to do so - good catch tho!

thanks!

Bobmeister 08-29-2003 04:19 PM

You know, retiredsoldier, the cool thing about Linux is that there are so many ways to skin a cat! I have changed my kids from Windows to doing all of their on-line stuff in Linux for two reasons. First is security, and the second is that there is less chance for them to screw up my machine from their user accounts. But that's how I learned to set it up globally or I would have had to make additional links in their home folders.

I know that Red Hat is an RPM distro, and I really like RPMS! I have just found that THIS particular scripted install seems to go more smoothly with less problems.

I have a question for you concerning rpms. This might be really BASIC and in the wrong thread, but HOW DO YOU KNOW IN ADVANCE WHERE an rpm will install? I know, read the read-me file, but sometimes there isn't one handy.

OK...just a stupid question...but I hope that these people get the Java working...there have been about 4 threads in the last couple of hours about this and it creates a lot of trouble for a lot of people

rshaw 08-29-2003 04:37 PM

suse users have been fighting this problem as well. moz, one version of gcc, java, a different version. i've had good luck with blackdown http://www.blackdown.org/java-linux.html

slackmagic 08-29-2003 08:16 PM

yep, I love the way Linux operates and I even have 'testing' useraccounts that I use for playing around with GUI settings and such.

Yes, RPMs can be very neat sometimes, but I don't hesitate to use source tarballs either if they are the only binaries available. I just followed the instructions pretty much for the rpm :D

I honestly don't know where the RPMs go in advance without reading any information, but as you've already stated, sometimes you don't get to read any of that. I'm sure some gurus from LQ should have an answer for that! I'm kinda new myself :D

Well, all I've got to say is I really love linux hehe

shanenin 08-29-2003 08:24 PM

I got java to work following these directions

http://www.linuxquestions.org/questi...threadid=86774


Thanks for everyones help


All times are GMT -5. The time now is 09:42 AM.