Bug: 132332762

Clone this repo:
  1. 2240a49 8285445: cannot open file "NUL:" by Sergey Bylokhov · 4 months ago master
  2. 53700e5 Merge tag jb11_0_15-b2043.56 by Dana Dahlstrom · 8 weeks ago
  3. 1b62698 Revert "remove duplicate bundled JetBrains Mono bold italic font" by Vitaly Provodin · 3 months ago jb11_0_15-b2043.56
  4. d2be9e7 Revert "JBR-1518 JBR 11 does not support chain of popups on Linux" by Vitaly Provodin · 3 months ago
  5. 0c7cb8e JBR-1518 JBR 11 does not support chain of popups on Linux by Dmitry Batrak · 4 months ago jb11_0_15-b2043.55

official JetBrains project

Welcome to JetBrains Runtime!

JetBrains Runtime is a fork of OpenJDK available for Windows, Mac OS X, and Linux. It includes a number enhancements in font rendering, HiDPI support, ligatures, performance improvements, and bugfixes.

Releases

Download the latest releases of JetBrains Runtime to use with JetBrains IDEs. The full list can be found on the releases page.

IDE VersionLatest JBRDate Released
2022.111_0_14_1-b2043.2530-Mar-2022
2021.311_0_14_1-b1751.4621-Feb-2022
2021.211_0_13-b1504.4915-Nov-2021
2021.111.0.11+9-b1341.6015-Jun-2021
2020.311_0_11-b1145.11521-Jun-2021

Contents

Products Built on JetBrains Runtime

  • Android Studio. The official IDE for Google's Android operating system.
  • CLion. A cross-platform IDE for C and C++ from JetBrains.
  • DataGrip. The IDE for Databases and SQL from JetBrains.
  • GoLand. The cross-platform Go IDE from JetBrains.
  • IntelliJ IDEA. The IDE for JVM from JetBrains.
  • JProfiler. The Java profiler.
  • PhpStorm. The PHP IDE from JetBrains.
  • PyCharm. The Python IDE from JetBrains.
  • Rider. The cross-platform .NET IDE from JetBrains.
  • RubyMine. The Ruby and Rails IDE from JetBrains.
  • WebStorm. The JavaScript IDE from JetBrains.
  • YourKit. Java and .NET profilers.

Getting Sources

macOS, Linux

git config --global core.autocrlf input
git clone git@github.com:JetBrains/JetBrainsRuntime.git

Windows

git config --global core.autocrlf false
git clone git@github.com:JetBrains/JetBrainsRuntime.git

Configuring the Build Environment

Here are quick per-platform instructions for those who can't wait to get started. Please refer to OpenJDK build docs for in-depth coverage of all the details.

TIP: To get a preliminary report of what's missing, run ./configure and check its output. It would usually have a meaningful advice on how to solve the problem.

Linux (Docker)

Create a container:

$ cd jb/project/docker
$ docker build .
...
Successfully built 942ea9900054

Run these commands in the new container:

$ docker run -v `pwd`../../../../:/JetBrainsRuntime -it 942ea9900054
# cd /JetBrainsRuntime
# sh ./configure
# make images CONF=linux-x86_64-normal-server-release

Ubuntu Linux

Install the necessary tools, libraries, and headers with:

$ sudo apt-get install autoconf make build-essential libx11-dev libxext-dev libxrender-dev libxtst-dev \
       libxt-dev libxrandr-dev libcups2-dev libfontconfig1-dev libasound2-dev \
       openjdk-11-jdk

Then run the following:

$ cd JetBrainsRuntime
$ sh ./configure --disable-warnings-as-errors
$ make images

Windows

Install the following:

  • Cygwin x64. Required packages: autoconf, binutils, cpio, diffutils, file, gawk, gcc-core, make, m4, unzip, zip.
    Install those together with Cygwin.
  • Visual Studio compiler toolset. Install with the desktop development kit, which includes Windows SDK and compilers. Visual Studio 2015 is supported by default.
  • Java 11. If you have problems while configuring, read Java tips on Cygwin.

From the command line:

"c:\Program Files (x86)\Microsoft Visual Studio 15.0\VC\vcvarsall.bat" amd64
c:\cygwin64\bin\mintty.exe /usr/bin/bash -l

The first command sets up environment variables, the second starts a Cygwin shell with the proper environment.

In the Cygwin shell:

$ cd JetBrainsRuntime
$ bash configure --enable-option-checking=fatal --with-toolchain-version=2015 \
                 --with-boot-jdk="/cygdrive/c/Program Files/Java/jdk-11.0.5" --disable-warnings-as-errors
$ make images

macOS

Install the following:

From the command line:

$ cd JetBrainsRuntime
$ sh ./configure --prefix=$(pwd)/build  --disable-warnings-as-errors
$ make images

Developing

You can use CLion to develop native parts of the JetBrains Runtime and IntelliJ IDEA for the parts written in Java. Both require projects to be created.

CLion

Run

$ make compile-commands

in the git root and open the resulting build/.../compile_commands.json file as a project. Then use Tools | Compilation Database | Change Project Root to point to git root of this repository.

See also this detailed step-by-step tutorial for all platforms: How to develop OpenJDK with CLion.

IDEA

Run

$ sh ./bin/idea.sh

in the git root to generate project files (add --help for options). Then open the git root directory as a project in IDEA.

Contributing

We are happy to receive your pull requests! Before you submit one, please sign our Contributor License Agreement (CLA).

Resources