Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12th May 2007, 08:55 PM
nooit Offline
Registered User
 
Join Date: Mar 2007
Posts: 11
Question environment variable

I am trying to instal SSLEXPLORER which requires me to set the following:

export JAVA_HOME=/usr/lib/jvm/java
export ANT_HOME=/usr/share/ant

I have put this in both my users and roots .bash_profile and logged out and in again.

When doing the following from the user or root I get the same - which is what I would expect

$ echo $JAVA_HOME
/usr/lib/jvm/java


$printenv | grep JAVA_HOME
JAVA_HOME=/usr/lib/jvm/java

$printenv | grep ANT_HOME
ANT_HOME=/usr/share/ant

However when I try to install the service I cannot and I get the following:

sudo ./install-service
Detecting Java
JAVA_HOME has not been set. Please set JAVA_HOME environment
variable or provide -j <java-home> argument.
Reply With Quote
  #2  
Old 12th May 2007, 09:12 PM
nooit Offline
Registered User
 
Join Date: Mar 2007
Posts: 11
sorry I was being a muppet and hadn't installed JRE
Reply With Quote
  #3  
Old 13th May 2007, 03:03 PM
mwette Offline
Registered User
 
Join Date: Nov 2005
Location: Los Angeles area
Posts: 887
Try adding to /etc/bashrc.
Reply With Quote
Reply

Tags
environment, variable

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
MOZILLA_FIVE_HOME environment variable sharique Using Fedora 1 15th February 2008 04:28 PM
How to set an environment variable royeo Using Fedora 1 1st December 2006 07:49 AM
Environment variable massimomm Using Fedora 2 19th April 2006 11:53 AM
add environment variable raptrex Using Fedora 6 15th May 2005 03:39 PM
environment variable karima Using Fedora 2 2nd February 2005 04:45 PM


Current GMT-time: 10:44 (Thursday, 20-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat