Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JRE install

Status
Not open for further replies.

Guest
Hi all, i am installing the jre from the instructions @ where it says that a sybolic link must be made to the web browser. to do this the directory of the browser install must be known. My prob is that i am running Fedora core 1 and i dont know where the directory is, could some one plz help me locate it (plz be gentle noobie) thx in advance T
 
What browser are you using? A safe guess would be to get to a commandline and type 'which mozilla'. That should give you something like '/usr/bin/mozilla'. You could go to the directory you need the symlink in (I guess your java directory) and run: [tt]ln -s $(which mozilla)[/tt]

----
JBR
 
You probably are running mozilla and probably have a /usr/lib/mozilla/plugins folder. It's the ../plugins folder into which you put the symlink to the the correct libjava.....so file

you can run this to find the plugins references.

"cd /; find -iname *plugins*"

That will turn up more than you need, but it will find the plugins library folder also.

ALTERNATIVELY, AND WHAT I DO
is create ~/.mozilla/plugins and do the symlink there. I only have 1-2 users on the box so its feasible. I've had a lot of trouble getting the JRE plugin to work universally (see above), but it was a snap to symlink from my homedir.

HTH

 
hi thx for ur reply,
sorry didmt get back sooner but was tied up with work. yes i am using mozilla. the daver could you plz tell me more about how you do this, plz bear in mind i have never made a sym link before, thx T
 
making symlinks for this situation (my "ALTERNATIVELY") would be:

cd ~ # change to homedir
mkdir -p .mozilla/plugins # make mozilla folders needed.
# ASSUME that the plugin needed is in
# /home/username/jre2_1.42.01/plugins/libjavablahblah.so
# YOU NEED TO FIND THE CORRECT LIBRARY YOURSELF!!!!!
# VIEW THE README!!!!
cd .mozilla/plugins
ln -s /home/username/jre2_1.42.01/plugins/libjavablahblah.so
ls -l

you should now see a "file" that shows the libjavablahblah.so filename with an "->" arrow that points to the REAL instance of that file.
You've now created a symlink to the necessary library.
RESTART mozilla and check the ABOUT | ABOUT PLUGINS dropdown to see if the library was recognized.

 
Hi all, I actually replied to this thread a few days ago anyhow. Thx for your help, I have managed to get JRE installed for all users. Think I will write a FAQ cos it must be a regular problem for noobs like it was for me, thx again T
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top