LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mandrake9/Java-VM (https://www.linuxquestions.org/questions/linux-newbie-8/mandrake9-java-vm-48842/)

ZoneAlert 03-08-2003 09:51 AM

Mandrake9/Java-VM
 
:newbie:

Can any one tell me in dummies English how to install Java and which is the best browser to use with it:Pengy:
I have tried everything I can think of and I just can not get a java enabled browser. :confused:

Crashed_Again 03-08-2003 10:10 AM

Download the java executable from java.sun.com . If I remember correctly you will have to change the permissions on it to make it executable:

chmod 775 install.sh

or whatever the install package is called. Then you run the executable by doing:

./install.sh

The installer is pretty straight forward.

As for what browser to use with Java well one doesn't really work better then the other. As long as you have the java plugin, supplied by the java package, installed in your browsers plugins directory you should be okay. You may have to enable Java in your browsers preferences as well because some browser disable java by default.

salparadise 03-09-2003 09:11 AM

having installed the java-j2re runtime thing you need to symbollically link the libjavaplugin_oji.so from it's location to the browser plugin folder

DO NOT COPY THE PLUGIN TO THE PLUGIN FOLDER

the code is as follows

ln -s /location/of/java/plugin /location/of/browser/plugin/folder

to find the correct path of the libjavaplugin use the locate command

su to root
updatedb (this takes a few minutes)
locate libjavaplugin_oji.so
ln-s

typically (on mandrake) this is
/usr/java/j2re1.4.1_01/plugin/i386/ns610/libjavaplugin_oji.so

so the command is

ln -s /usr/java/j2re1.4.1_01/plugin/i386/ns610/libjavaplugin_oji.so /path to your browser of choice

hope this sorts it for you


All times are GMT -5. The time now is 04:00 PM.