JetBrains Runtime is a fork of OpenJDK available for Windows, Mac OS X, and Linux.
It includes a number of enhancements in font rendering, HiDPI support, windowing/focus subsystems, performance
improvements and bugfixes.
NOTE: This is a development branch that is periodically synchronized with
the OpenJDK master branch.
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 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:
$ cd JetBrainsRuntime
$ git checkout jbr-dev
$ sh ./configure
$ make images
This will build the release configuration under ./build/linux-x86_64-server-release/.
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 2019 is supported by default.
$ cd JetBrainsRuntime
$ git checkout jbr-dev
$ sh ./configure
$ make images
This will build the release configuration under ./build/macosx-x86_64-server-release/.
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.
in the git root to generate project files (add --help for options). If you have multiple
configurations (for example, release and fastdebug), supply the --conf <conf_name> argument.
Then open the git root directory as a project in IDEA.
请发表评论