Skyxim / JetbrainRuntime

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

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
# git checkout master17
# 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 \
       java-16-amazon-corretto-jdk

Then run the following:

$ cd JetBrainsRuntime
$ git checkout master17
$ 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.
  • Java 16 (for instance, from AdoptOpenJDK). If you have problems while configuring, read Java tips on Cygwin.

From the command line:

"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
"c:\Program_Files\cygwin64\bin\mintty.exe" /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
$ git checkout master17
$ bash configure --with-toolchain-version=2019
$ make images

This will build the release configuration under ./build/windows-x86_64-server-release/.

macOS

Install the following:

  • Xcode command line developer tools and autoconf via Homebrew.
  • Java 16 (for instance, from AdoptOpenJDK).

From the command line:

$ cd JetBrainsRuntime
$ git checkout master17
$ sh ./configure
$ make images

This will build the release configuration under ./build/macosx-x86_64-server-release/.

Contributing

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

Resources

About

License:GNU General Public License v2.0


Languages

Language:Java 76.8%Language:C++ 13.2%Language:C 5.9%Language:Assembly 2.5%Language:Objective-C 0.4%Language:HTML 0.3%Language:XSLT 0.3%Language:Shell 0.2%Language:Roff 0.2%Language:M4 0.1%Language:Hack 0.1%Language:Python 0.0%Language:JavaScript 0.0%Language:Makefile 0.0%Language:DTrace 0.0%Language:Mathematica 0.0%Language:Metal 0.0%Language:Awk 0.0%Language:CSS 0.0%Language:GDB 0.0%Language:Perl 0.0%Language:sed 0.0%Language:Batchfile 0.0%Language:AppleScript 0.0%Language:Dockerfile 0.0%Language:Red 0.0%Language:SourcePawn 0.0%