LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Java? (https://www.linuxquestions.org/questions/linux-newbie-8/java-84771/)

GT_Onizuka 08-22-2003 11:57 PM

Java?
 
how exactly do you go about installing the java plug-in for linux? i downloaded the RPM but its .rpm.bin and i have no clue as to how im supposed to install it :confused: thanks in advance, this site is great, if it weren't for this i probably would have given up on linux

contrasutra 08-23-2003 12:18 AM

a .bin file is a compressed package that "self installs", to install it:

chmod +x file.rpm.bin -- this lets you execute the file

./file.rpm.bin

this runs the file. Then just follow the onscreen directions.


What you downloaded was not JUST the java plugin, its was all of Java. There are other steps you have to do after you install that to link the plugin to your desired browser. Once you install that package, we can go from there.

GT_Onizuka 08-23-2003 12:29 AM

okay now i understand what you meant by all of java okay so i got the rpm outta the way now i have a new folder /usr/java//usr/java/j2re1.4.1_04, this has all the files in it (which as you stated before) is all of java. now if you could kindly direct me as to how to install the plug-in to mozilla i would be very appreciative :D

contrasutra 08-23-2003 12:44 AM

ok, first you have to find the plugin location, and Mozilla's location.

Now, different versions of Java store the plugin in slightly different directories, so you may have to snoop a little.

The plugin should be in the: /usr/java/j2re1.4.1_04/plugin directory.

On my version, its /usr/java/j2re1.4.1_04/plugin/i386/mozilla/javaplugin_oji.so


Then you have to find where Mozilla is located. do a "whereis mozilla"

There should be a "plugins" directory in your Mozilla directory.

You now have to make a symlink from from the java plugin located in the java directory to your plugin directory. It should be something like (as root):

ln -s /usr/java/j2re1.4.1_04/plugin/i386/mozilla/javaplugin_oji.so /opt/mozilla/plugins/javaplugin_oji.so

Of course, adjusting to the locations specific to you.

Then load mozilla and type:

about:plugins

this will tell you what plugins are working.


If you have any problems, post back.


All times are GMT -5. The time now is 10:08 PM.