LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 07-15-2005, 05:22 AM   #1
Knowledgements
Member
 
Registered: Jul 2005
Posts: 56

Rep: Reputation: 15
Firefox plugin = Java Runtime environment??


Hello

I`ve installed mozilla firefox 1.0.5 on my computer
and installed Jre (java runtime environment) it works on root
but i want to use jre on another user ... i`ve installed it and plugins but it doesnt`t work ...??
i am using Slackware 10.1 ???

help immediately ???
 
Old 07-15-2005, 05:43 AM   #2
piete
Member
 
Registered: Apr 2005
Location: Havant, Hampshire, UK
Distribution: Slamd64, Slackware, PS2Linux
Posts: 465

Rep: Reputation: 44
Follow the instructions located here, under the title of "How do I install Java?":

http://www.mozilla.org/support/firefox/faq#q2.2

- Piete.
 
Old 07-15-2005, 05:48 AM   #3
Basel
Member
 
Registered: Feb 2004
Location: United States
Distribution: Ubuntu 10.10
Posts: 319

Rep: Reputation: 30
Here is how I did it:

Code:
basel@darkstar:~/opt/Firefox$ cd plugins/
basel@darkstar:~/opt/Firefox/plugins$ ls -l
total 20
-rwxr-xr-x  1 basel users 18840 2005-05-11 14:17 libnullplugin.so*
basel@darkstar:~/opt/Firefox/plugins$ which java
/usr/lib/java/bin/java
basel@darkstar:~/opt/Firefox/plugins$ ln -s /usr/lib/java/plugin/i386/ns7
ns7/       ns7-gcc29/
basel@darkstar:~/opt/Firefox/plugins$ ln -s /usr/lib/java/plugin/i386/ns7/libjavaplugin_oji.so
Enable JRE and Configurations
Test JVM
 
Old 07-15-2005, 05:53 AM   #4
Knowledgements
Member
 
Registered: Jul 2005
Posts: 56

Original Poster
Rep: Reputation: 15
thanx but i`ve done that..

it needs some lib files but i haven`t got and i didn`t find anywhere
 
Old 07-15-2005, 06:00 AM   #5
Knowledgements
Member
 
Registered: Jul 2005
Posts: 56

Original Poster
Rep: Reputation: 15
Dear Basel

i wrote all of them ...

but when i wrote which java and press enter
shell says :

which: no java in (/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/opt/www/htdig/bin:/usr/lib/java/bin:/usr/lib/java/jre/bin:/opt/kde/bin:/usr/lib/qt/bin:/usr/share/texmf/bin)

what does it meanS??
 
Old 07-15-2005, 06:01 AM   #6
Basel
Member
 
Registered: Feb 2004
Location: United States
Distribution: Ubuntu 10.10
Posts: 319

Rep: Reputation: 30
Quote:
it needs some lib files but i haven`t got and i didn`t find anywhere
Where did you install firefox and JRE? Do you have enough permissions to access the needed files?
 
Old 07-15-2005, 06:05 AM   #7
Knowledgements
Member
 
Registered: Jul 2005
Posts: 56

Original Poster
Rep: Reputation: 15
yes i`ve enough permissions...

i`ve installed firefox = http://www.mozilla.org
i`ve installed java = http://java.com/en/download/linux_manual.jsp

i`ve tested my java .. it found that but it doesn`t works

heeelllp please
 
Old 07-15-2005, 06:08 AM   #8
Basel
Member
 
Registered: Feb 2004
Location: United States
Distribution: Ubuntu 10.10
Posts: 319

Rep: Reputation: 30
Quote:
which: no java in (/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/opt/www/htdig/bin:/usr/lib/java/bin:/usr/lib/java/jre/bin:/opt/kde/bin:/usr/lib/qt/bin:/usr/share/texmf/bin)

what does it meanS??
you need to add java to your PATH.
To Affect All Users, Create a file with the extension .sh under /etc/profile.d/ that contains the following lines:
Code:
export JAVA_HOME=/usr/lib/java
export PATH=$JAVA_HOME/bin:$PATH
To Affect a Sigle User, edit the file $HOME/.profile or $HOME/.bashrc and add the following:
Code:
export JAVA_HOME=/usr/lib/java
export PATH=$JAVA_HOME/bin:$PATH
If you installed JRE from slackware CD you will have it in you PATH:
Code:
basel@darkstar:/etc/profile.d$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/usr/lib/java/bin:/usr/lib/java/jre/bin:/opt/kde/bin:/usr/lib/qt/bin:/usr/share/texmf/bin:.
 
Old 07-15-2005, 06:31 AM   #9
Knowledgements
Member
 
Registered: Jul 2005
Posts: 56

Original Poster
Rep: Reputation: 15
i`ve tried java....
it works for a few seconds and
says Loading Java Applet Failed ??

what`s that?
 
Old 07-15-2005, 06:34 AM   #10
Basel
Member
 
Registered: Feb 2004
Location: United States
Distribution: Ubuntu 10.10
Posts: 319

Rep: Reputation: 30
Could you please give more info about the error?
 
Old 07-15-2005, 06:37 AM   #11
Knowledgements
Member
 
Registered: Jul 2005
Posts: 56

Original Poster
Rep: Reputation: 15
ok!...

i want to play go game on Kgs Kiseido Go server http://kgs.kiseido.com

firstly it doesn`t works

but i`ve entered shell

ln -s /usr/java/jre1.5.0_02/plugin/i386/ns7/libjavaplugin_oji.so

after that i`ve entered the site......

java logo has appeared

but after 2 seconds Firefox says : Loading Java Applet Failed ??
 
Old 07-15-2005, 06:42 AM   #12
Knowledgements
Member
 
Registered: Jul 2005
Posts: 56

Original Poster
Rep: Reputation: 15
i`ve uninstalled firefox
and installed then

in /firefox/plugins
ln -s /usr/java/jre1.5.0_02/plugin/i386/ns7/libjavaplugin_oji.so

it works. ..... very welll

thank you
 
Old 07-15-2005, 06:47 AM   #13
Basel
Member
 
Registered: Feb 2004
Location: United States
Distribution: Ubuntu 10.10
Posts: 319

Rep: Reputation: 30
First of all, I love Go but I don't know how to play it? Could you please recommend some links to learn it?

How did you add java to your PATH?
Try to refresh or restart firefox, the applet loaded for me and I managed to access as guest.
 
Old 07-15-2005, 06:52 AM   #14
Knowledgements
Member
 
Registered: Jul 2005
Posts: 56

Original Poster
Rep: Reputation: 15
http://kgs.kiseido.com

in this site you can learn how to play go easily

i`ve learned 2 days ago ...
but i`m playing chess very well..

when you want to contact with me

maverick@liseligenclik.com

that`s my e mail address.
 
Old 07-15-2005, 07:00 AM   #15
Basel
Member
 
Registered: Feb 2004
Location: United States
Distribution: Ubuntu 10.10
Posts: 319

Rep: Reputation: 30
Thanks a lot,

I will start with "Kiseido Go Server Tutorial" and see how it goes. Hope to play with you in the future.
You can always use LinuxQuestions Send Email Feature to contact me.
 
  


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 Programming: Java Runtime Environment not found when trying to compile murbz Linux - Software 2 03-26-2009 04:04 AM
Java Runtime Environment (Debian/FireFox) nutnut Linux - Software 2 10-28-2005 07:58 PM
Java Runtime Environment for Opera and firefox manmad Mandriva 5 08-25-2005 04:13 AM
Which Java Runtime Environment to use? r_jensen11 Linux - Software 4 09-13-2003 07:43 PM
Java Runtime Environment J_Szucs Linux - Newbie 6 02-18-2002 07:25 PM


All times are GMT -5. The time now is 12:24 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration