LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 12: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, 02: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, 04:27 PM   #3
innovations
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks!
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 02:39 AM.

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