Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

JIRA installation going no where on LINUX

Posted on 2008-10-10
4
Medium Priority
?
502 Views
Last Modified: 2016-12-08
Hello Experts,

I have been trying to install JIRA on a CENTOS 5 dedicated remote server. I have been search help on google and trying to get this installation going for days. I installed the VNC and Apache firing up on port 80 and tomcat5 on port 8080. I have placed the JIRA directory:

/usr/share/tomcat5/webapps/ROOT/JIRA

I am following the ATLASSIAN online installation instruction for TOMCAT5 at:

http://www.atlassian.com/software/jira/docs/latest/servers/tomcat55.html

I get to step 3 and build the file and get this error:

BUILD FAILED:

Warning: JAVA_HOME environment variable is not set (or not exported). If build fails because sun.* classes could not be found you will need to set the JAVA_HOME environment variable to the installation directory of JAVA.

Any help would highly be appreciated.
Thank you.
0
Comment
Question by:combustion007
  • 2
4 Comments
 
LVL 57

Expert Comment

by:giltjr
ID: 22693609
Have you set and exported the the environment variable JAVA_HOME?  Issue the command:

     set | grep JAVA

and see if it is there.  If it is there, make sure that Java is installed there.  If it is not there, then you need to set it and make sure that you get it set at boot time also.
0
 

Author Comment

by:combustion007
ID: 22703022
Hello qiltjr,

Thank you for your help. When I enter your suggested command, I am taken back to the prompt on next line. But when I issue java -version, I see Java 1.4.2.
I find all the the java paths to b pointing to /usr/bin/

Appreciate all your help.
Thank you.
0
 
LVL 57

Accepted Solution

by:
giltjr earned 2000 total points
ID: 22704420
O.K., if you do the set | grep JAVA and get nothing, that means that the enviroment variables for java are not set and thus the reason for the error.

Here is an article that may help you set this up:

http://www.cyberciti.biz/faq/linux-unix-set-java_home-path-variable/ 
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If something goes wrong with Exchange, your IT resources are in trouble.All Exchange server migration processes are not designed to be identical and though migrating email from on-premises Exchange mailbox to Cloud’s Office 365 is relatively simple…
When you discover the power of the R programming language, you are going to wonder how you ever lived without it! Learn why the language merits a place in your programming arsenal.
This video teaches viewers about errors in exception handling.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
Suggested Courses

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question