• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

JetBrains/JetBrainsRuntime: Runtime environment based on OpenJDK for running Int ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

JetBrains/JetBrainsRuntime

开源软件地址(OpenSource Url):

https://github.com/JetBrains/JetBrainsRuntime

开源编程语言(OpenSource Language):

Java 75.1%

开源软件介绍(OpenSource Introduction):

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 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.

Release builds are based on these branches:

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

Releases based on JDK 17

IDE Version Latest JBR Date Released
2022.2 17.0.3-b469.37 02-Aug-2022

Releases based on JDK 11

IDE Version Latest JBR Date Released
2022.1 11_0_15-b2043.56 17-May-2022
2021.3 11_0_14_1-b1751.46 21-Feb-2022
2021.2 11_0_13-b1504.49 15-Nov-2021
2021.1 11.0.11+9-b1341.60 15-Jun-2021
2020.3 11_0_11-b1145.115 21-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 [email protected]:JetBrains/JetBrainsRuntime.git

Windows

git config --global core.autocrlf false
git clone [email protected]: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 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

Get Java 18 (for instance, Azul Zulu Builds of OpenJDK 18).

Then run the following:

$ 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:

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 jbr-dev
$ 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:

From the command line:

$ 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.

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). 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.

Contributing

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

Resources




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap