LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices



Reply
 
Search this Thread
Old 10-26-2005, 01:54 PM   #1
innovations
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Rep: Reputation: 0
Question System Path Enviroment Variable


Hello, this is my first post

I am installing Macromedia JRun on my server and I keep getting this nagging message that Java Virtual Machine (JVM) bin directory is not found in the system path enviroment variable.

I installed Java Runtime Enviroment (JRE) in the usr/local directory.

Any ideas?
 
Old 10-26-2005, 03:29 PM   #2
NCappaZoo
LQ Newbie
 
Registered: Aug 2003
Location: Queens, New York, U.S.
Distribution: Linux From Scratch
Posts: 25

Rep: Reputation: 15
Yes you need to set a local or global JAVA_HOME variable... best thing to do is to add something like this to /etc/profile :

export JAVA_HOME=/usr/java/jre1.5.0_04

or in your case :
export JAVA_HOME=/usr/local/jre1.5.0_04

Just make sure you path points to the java directory...

You will need to reload your profile for the variable to become available, which you can do by either logging out and logging back in, or executing this command :

source /etc/profile

That should fix your problem.
 
Old 10-26-2005, 05:27 PM   #3
innovations
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks!
 
  


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
enviroment variable PATH Moataz Linux - Newbie 2 04-25-2005 09:25 PM
how to change $PATH enviroment variable bglnelissen Linux - Software 2 11-03-2004 07:55 AM
MOZILLA_FIVE_VARIABLE enviroment variable Lechium Slackware 4 08-31-2004 05:19 AM
Where to set system PATH variable Cybers19 Linux - Newbie 4 05-05-2004 02:46 PM
Enviroment variable set for all ChimpFace9000 Slackware 5 12-09-2002 10:39 AM


All times are GMT -5. The time now is 11:45 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