Martin Balao b52983fe36 8266689: More Constrained Delegation
Backport-of: 723438b38868c373d1b8d7e6db576835be392932
(cherry picked from commit 542846c726)
2021-10-28 14:54:20 +07:00
2021-03-15 14:53:42 +03:00
2021-10-28 14:54:20 +07:00
2021-10-28 14:54:20 +07:00
2018-05-10 07:26:18 +02:00
2019-10-10 12:24:41 +02:00
2016-05-30 16:17:11 +02:00
2021-03-14 13:03:11 +01:00

official JetBrains project

How JetBrains Runtime is organised

Workspaces

github.com/JetBrains/JetBrainsRuntime

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

Configure local build environment

OpenJDK build docs
Tip for all platforms: run ./configure and check output.
Usually, it has meaningful advice how to solve your problem.

Linux (Docker)

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

$ docker run -v `pwd`../../../../:/JetBrainsRuntime -it 942ea9900054

# cd /JetBrainsRuntime
# sh ./configure
# make images CONF=linux-x86_64-normal-server-release

Linux (Ubuntu 18.10 desktop)

$ 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 

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

Windows

Install:

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

From command line:

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

First command will set env vars, the second will run Cygwin shell with proper environment.

In 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 Xcode command line developer tools, autoconf (via Homebrew).

Run:

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

Contribution

We will be happy to receive your pull requests. Before you submit one, please sign our Contributor License Agreement (CLA) https://www.jetbrains.com/agreements/cla/

Description
Runtime environment based on OpenJDK for running IntelliJ Platform-based products on Windows, macOS, and Linux
Readme GPL-2.0 1.3 GiB
Languages
Java 73.7%
C++ 14%
C 8.1%
Assembly 2.7%
Objective-C 0.5%
Other 0.8%