MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
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.
Simply instaling the rpm is not enough, you need to run the plugin to get java to work in your browser, and you need to set up the java variable to be able to open java programs.
Did you run the plugin for mozilla that's in the link?
the plugin should also work for firefox.
This is it:
Quote:
1. Open a root shell
2. You need to link the Java plugin file into your Mozilla installation. The command is "ln -s Y/plugin/i386/ns610/libjavaplugin_oji.so Z/plugins/libjavaplugin_oji.so". Where Y is the jre installation directory and Z is the mozilla installation directory. On my machine the command is "ln -s /usr/java/j2sdk1.4.2/jre/plugin/i386/ns610/libjavaplugin_oji.so /usr/lib/mozilla-1.3.1/plugins/libjavaplugin_oji.so"
3. NOTE: If you are using Mozilla 1.4 or higher you need to get the .so file from the /ns610-gcc32 directory not the /ns610 directory.
Can you run any java applications? If not then you need to do this (also in the link i gave u):
Quote:
1. As your normal non-root identity use your favorite editor to open ~/.bashrc
2. Add in the following path declaration "PATH=$PATH:X:" where X is the location of the bin directory. In my machine this is "PATH=$PATH:/usr/java/j2sdk1.4.2_01/jre/bin:".
3. Add in the following JAVA_HOME declaration (this tells Java programs where to find the files they need) "JAVA_HOME=X", this is the same X as before so on my system it is "JAVA_HOME=/usr/java/j2sdk1.4.2_01/jre/bin"
4. Then add in two export statements
* export PATH
* export JAVA_HOME
5. Save the file
6. You are now ready to run Java programs
uote:
1. As your normal non-root identity use your favorite editor to open ~/.bashrc
2. Add in the following path declaration "PATH=$PATH:X:" where X is the location of the bin directory. In my machine this is "PATH=$PATH:/usr/java/j2sdk1.4.2_01/jre/bin:".
3. Add in the following JAVA_HOME declaration (this tells Java programs where to find the files they need) "JAVA_HOME=X", this is the same X as before so on my system it is "JAVA_HOME=/usr/java/j2sdk1.4.2_01/jre/bin"
4. Then add in two export statements
* export PATH
* export JAVA_HOME
5. Save the file
6. You are now ready to run Java programs
Originally posted by Micro420 You can go to www.java.com and download the most recent java. Can you be more specific about your java not being able to work?
In konqueror it says java executable not found. I have added Java to the path in ./bashrc.
I have tried it with 2 different versions of Java and still nothing.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.