JAR Installation
The YouTrack JAR distribution is available for download on the JetBrains website.
Starting with version 2018.2, YouTrack JAR distribution gets the structure similar to ZIP and MSI and MSI distribution, and also incorporates the web-based Configuration Wizard. This major update affects the way you install and configure YouTrack service.
YouTrack JAR is a cross-platform distribution. You can use this distribution to install and run YouTrack on Linux, OS X, and Windows.
The procedure for installing YouTrack with this distribution is similar for all operating systems.
To install YouTrack Standalone with a JAR distribution:
Download the JAR distribution from the JetBrains website.
Upload the JAR distribution to your server.
Configure the application in the web-based Configuration Wizard.
Installation Options
A YouTrack JAR distribution can be set up in a variety of server environments. The following topics provide specific instructions for installing and running the JAR distribution different operating systems:
Run YouTrack JAR
Run YouTrack Standalone with the following command:
java -jar youtrack-<version>.jar [JVM options] [host:<port>][/contextPath]
In YouTrack 2018.2, the following options and variables are set by default, and no longer required to be set explicitly in the command line:
-Xmx1024m,
-XX:MaxMetaspaceSize=350m,
-ea,
-XX:+HeapDumpOnOutOfMemoryError,
-XX:HeapDumpPath=..\logs,
-XX:ErrorFile=..\logs\hs_err_pid%p.log,
-Dfile.encoding=UTF-8,
-Dorg.eclipse.jetty.server.Request.maxFormContentSize=5000000,
-Dorg.eclipse.jetty.server.Request.maxFormKeys=10000,
-Djetbrains.http.request.header.buffer.size=50000,
-Djetbrains.http.response.header.buffer.size=50000,
By default, you do not need to specify explicitly any options or parameters in the command line. However, you may set values for the following variables in the command:
Parameter | Description |
---|---|
JVM options | The JVM options that are set when when the YouTrack instance is started. Each JVM option must be prefixed with either |
host | The listen address of your YouTrack server. The default value is |
port | The HTTP port number of your YouTrack server. |
contextPath | The context path of your YouTrack instance. The default context is |
When you set the contextPath
, you can run YouTrack with the context other than the default root path. Here are a few command examples with various URI configurations for different YouTrack servers:
java -jar youtrack-2018.2.12345.jar --J-Xmx2g --J-XX:MaxMetaspaceSize=450M 8080
java -jar youtrack-2018.2.12345.jar --no-browser 8080/youtrack
java -jar youtrack-2018.2.12345.jar 127.0.0.1:8080
java -jar youtrack-2018.2.12345.jar 127.0.0.1:8080/youtrack
When you start YouTrack, the application opens in a browser. If you do not have a web browser installed on the host machine or do not want the browser to pop up, use the --no-browser
flag right after the jar file name in the command:
java -jar youtrack-2018.2.12345.jar --no-browser 8080
For a complete list of YouTrack-specific JVM options, see Configuration Parameters.
Once your YouTrack service is up and running, you may want to set up projects and access rights, import issues from another tracker, or fine-tune the server environment. For more information, check the topics in the See Also section below.