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
468 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn how to create multiple layers to apply various filters and how to delete areas from each layer’s filter.
This video teaches viewers about errors in exception handling.

939 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

10 Experts available now in Live!

Get 1:1 Help Now