Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
I succesfully installed Java creating a /usr/java directory. I am running SUSE 10.0 64 bit and I use firefox browser. How can I get my Java to work with my browser so I can use Java on web sites???
Did you try adding your java/bin/ directory path in the $PATH?
Eg: PATH=$PATH:/usr/java/bin
This has nothing to do with the browser plugin.
Edit: there is no 64-bit plugin, you have to use 32-bit (see this).
Edit: I'm retarded. The procedure is to make a symlink to libjavaplugin_oji.so in your Firefox plugins directory with "ln -s /path/to/libjavaplugin_oji.so /path/to/plugins/directory". Not sure about where the plugins directory is on SuSE, nor where the JRE is installed to by default (I used the package that came with Slackware).
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495
Rep:
How do I edit the path? I know how to see my path with "echo $PATH", but how do I change it? I have made a symbolic link to javac and java, but there is many others in my bin directory such as javadoc. It would be easier to make put the java bin directory in the path than to make a symbolic link for everything in there.
1) There is a 64-bit Java Runtime Environment. There is NOT a 64-bit Java browser plugin. To address this problem, you will need a 32-bit Chroot. Install the 32-bit Chroot, install Mozilla Firefox under that chroot, install a 32-bit JRE under the chroot, and then use the 32-bit Java plugin in the 32-bit browser. I used this link: https://alioth.debian.org/docman/vie....html#id271987
2) If you want to set your path, you can use export PATH="$PATH:/path/to/jre/bin". You can even plop that into your .bashrc or .bash_profile to make sure it happens whenever you open a login shell. However, if you want to change the PATH as used by, for example, KDE, you have to edit your kdmrc (located on my machine at /etc/kde3/kdm/kdmrc). That file contains "UserPath" and "SystemPath" values which denote the PATH used by the K Desktop Environment when launching your programs.
Note, of course, that Gnome will have a different configuration file, but the approach will likely be the same.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.