Solved

JIRA installation going no where on LINUX

Posted on 2008-10-10
  • Java App Servers
  • Java
  • Project Management Software
  • Apache Web Server
  • Software-Other
  • +1
4
470 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 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Let’s list some of the technologies that enable smooth teleworking. 
In our personal lives, we have well-designed consumer apps to delight us and make even the most complex transactions simple. Many enterprise applications, however, are a bit behind the times. For an enterprise app to be successful in today's tech wo…
The viewer will learn how to implement Singleton Design Pattern in Java.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

809 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