JIRA requires a Java Developers Kit (JDK) or Java Runtime Environment (JRE) platform to be installed on your server's operating system.
You can download the JDK from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html.
Select the version relevant to your operating system and architecture.
Note that some users reported that JIRA doesn't work all the time with Java 8; in this case, it's safe to install Java 7 on the machine.
Download JDK 7 from http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html.
The steps to install the JDK on Windows are:
Uninstall any earlier version of Java that was installed on your system.
Restart your system.
Using the downloaded installer, you can install the JDK at
C:\java
(don't install it inC:\Program Files\)
.Set the
JAVA_HOME
windows environment variable. It should point toC:\java
on the Windows machine.Restart your system.