Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 508
  • Last Modified:

JIRA installation going no where on LINUX

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
combustion007
Asked:
combustion007
  • 2
1 Solution
 
giltjrCommented:
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
 
combustion007Author Commented:
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
 
giltjrCommented:
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now