Confluence 5.7 has reached end of life
Check out the [latest version] of the documentation
This information is only relevant if you are installing Confluence on a Windows server.
After you have installed the Java Runtime Environment (JRE) in Windows, you must set the JAVA_HOME environment variable to point to the JRE installation directory.
If you already know the installation path for the Java Runtime Environment, go to Stage 2 below. Otherwise, find the installation path by following these instructions:
C:\Program Files\Java. Using Explorer, open the directory C:\Program Files\Java.C:\Program Files\Java\jre6. Once you have identified the JRE installation path:
JAVA_HOME.If your Java installation directory has a space in its path name, you should use the shortened path name (e.g. C:\Progra~1\Java\jre6) in the environment variable instead.
Note for Windows users on 64-bit systems
Progra~1 = 'Program Files'
Progra~2 = 'Program Files(x86)'
Starting Tomcat as a Windows Service
Installing Confluence in Linux