LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-06-2003, 01:19 PM   #1
janisj
Member
 
Registered: Jul 2003
Location: Hesse, Germany
Distribution: Fedora Core 1
Posts: 38

Rep: Reputation: 15
Angry how does $PATH get set? Teach mozilla where is JAVAHOME?


Hi group,

When clicking on the funny-looking character (could be it does not loook funny to you, though ..) near the bottom of this web page

www dot wimbledon dot org/en_GB/scores/weather/index.html

I get the instruction to dig up an application/x-java-vm plug-in. I downloaded and installed the whole JSDK thing from Sun. Now I have tried to put the JAVAHOME=/usr/java
# /usr/java points to /usr/j2sdk_nb/j2sdk1.4.2
PATH=$PATH:$JAVAHOME/jre/bin
in several locations:
1) /etc/rc.d/init.d/function
2) /etc/profile
3) /etc/profile.d/java.sh

and when I reboot and ask echo $JAVAHOME or echo $PATH my RedHat Linux 8.0 sez "What do ya mean, 'java'?" It seems to know about /root/bin and /usr/sbin 3-5 times over, though.

Can somebody help me figure out/point me to the right place to read up on how environment variables get set at start-up and, perhaps, if there is any trick to get Mozilla know the VM is there? Right now I would even settle for a way to tell Mozilla about VM, so I can see the JRE in action.

Thanks and regards,

Janis
 
Old 07-06-2003, 02:21 PM   #2
JanRigter
LQ Newbie
 
Registered: Jul 2003
Location: Netherlands
Distribution: SuSE/Debian
Posts: 26

Rep: Reputation: 15
Hi,

This worked for me:
Create a symlink from the mozilla/plugins directory to the javaplugin_oji.so.

This is a common problem.
Try and search these forums for "mozilla" and "java".
You will get a lot of threads on this.

Cheers,
Jan
 
  


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
Set the path systemwide/Set the path for a user with Slackware jayhel Slackware 1 06-12-2005 01:24 AM
Where is JavaHome? pgorman Linux - Software 1 01-30-2005 05:17 AM
How to set PATH How do I set PATH environment variable? Tranquil Linux - Newbie 3 11-02-2003 03:52 AM
$PATH!? how to set these PATH(s)!? sirpelidor Red Hat 5 10-25-2003 05:00 PM
Set Path reaky Linux - Newbie 2 10-09-2003 08:54 PM


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