Setting The JAVA - HOME Variable in Windows: Skip To End of Metadata
Setting The JAVA - HOME Variable in Windows: Skip To End of Metadata
Variable in Windows
Skip to end of metadata
Attachments:1
Added by Dave Loeng [Atlassian], last edited by Sarah Maddox [Atlassian] on Aug 07, 2012 (view change)
show comment
Go to start of metadata
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.
2. Inside that path will be one or more subdirectories such as C:\Program Files\Java\jre6.
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.
Icon
Note for Windows users on 64-bit systems
Progra~1 = 'Program Files'
Progra~2 = 'Program Files(x86)'
7. Click OK.
8. Click Apply Changes.
9. Close any command window which was open before you made these changes, and open a new
command window. There is no way to reload environment variables from an active command
prompt. If the changes do not take effect even after reopening the command window, restart
Windows.
10. If you are running the Confluence EAR/WAR distribution, rather than the regular Confluence
distribution, you may need to restart your application server.