Solved

JIRA installation going no where on LINUX

Posted on 2008-10-10
4
465 Views
Last Modified: 2013-12-02
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 500 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Today companies are subjected to more-and-more data, and it won't stop any time soon.  But there are obvious opportunities for reducing data, particularly data duplicated among companies.
Skype is a P2P (Peer to Peer) instant messaging and VOIP (Voice over IP) service – as well as a whole lot more.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

708 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now