LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 02-11-2006, 11:25 PM   #1
madhatter3
Member
 
Registered: Dec 2005
Posts: 36

Rep: Reputation: 15
Installed Java, how to configure with browser?


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???
 
Old 02-12-2006, 12:12 AM   #2
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
Are you using Sun Java? They have no plugin for 64-bit, so if you need to use Sun Java you will need to install 32-bit Firefox and 32-bit Java.
 
Old 02-12-2006, 10:08 AM   #3
madhatter3
Member
 
Registered: Dec 2005
Posts: 36

Original Poster
Rep: Reputation: 15
They have 64 bit Java on the download site. I downloaded the 64 bit RPM.

http://www.java.com/en/download/linux_manual.jsp
 
Old 02-12-2006, 10:13 AM   #4
SkyEye
Member
 
Registered: Sep 2005
Location: Sri Lanka
Distribution: Fedora (workstations), CentOS (servers), Arch, Mint, Ubuntu, and a few more.
Posts: 441

Rep: Reputation: 40
Did you try adding your java/bin/ directory path in the $PATH?

Eg: PATH=$PATH:/usr/java/bin
 
Old 02-12-2006, 10:20 AM   #5
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally Posted by SkyEye
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).

Last edited by Nylex; 02-12-2006 at 10:28 AM.
 
Old 02-14-2006, 09:28 AM   #6
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495

Rep: Reputation: 85
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.
 
Old 02-14-2006, 10:31 AM   #7
tvynr
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 143

Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Java plugin installed correctly for Firefox but not able to view any java applet tvn Linux - Software 10 04-15-2010 02:13 AM
JAVA JRE installation to view java applet through browser dipenchaudhary Linux - Software 1 01-23-2006 09:20 AM
configure a browser on netbeans ide pelegk2 Linux - Software 0 10-11-2004 04:49 AM
How to configure our Netscape browser to browsing nassha Linux - Networking 1 06-12-2004 01:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration