JetBrains / jdk8u

GNU General Public License v2.0
122 stars 35 forks source link

JetBrains Runtime official JetBrains project

JetBrains Runtime is a runtime environment for running IntelliJ Platform-based products on Windows, macOS, and Linux. It is based on the OpenJDK project, with some modifications, including:

JetBrains Runtime is not a certified build of OpenJDK. Please, use at your own risk.

Downloads

Windows-x86 Windows-x64 macOS Linux-x86 Linux-x64

How JetBrains Runtime is organised

Workspaces

github.com/JetBrains/jdk8u
github.com/JetBrains/jdk8u_corba
github.com/JetBrains/jdk8u_hotspot
github.com/JetBrains/jdk8u_jaxp
github.com/JetBrains/jdk8u_jaxws
github.com/JetBrains/jdk8u_jdk
github.com/JetBrains/jdk8u_langtools
github.com/JetBrains/jdk8u_nashorn

Usually, we do not modify any of the repositories except jdk module. Other repositories are needed for build purposes.

Getting sources

OSX, Linux:

git config --global core.autocrlf input
git clone git@github.com:JetBrains/jdk8u.git
cd jdk8u
./getModules.sh

Windows:

git config --global core.autocrlf false
git clone git@github.com:JetBrains/jdk8u.git
cd jdk8u
getModules.bat

Configure Local Build Environment

Linux

sudo apt-get install git zip bzip2 unzip tar curl
sudo apt-get install ccache make gcc g++ ca-certificates ca-certificates-java
sudo apt-get install libxext-dev libxrender-dev libxtst-dev libxt-dev
sudo apt-get install libasound2-dev libcups2-dev libfreetype6-dev
git clone git@github.com:JetBrains/jdk8u.git
cd jdk8u
./getModules.sh
download jdk8 from Oracle into /home/user/jdk1.8.0_102
export JAVA_HOME=/home/user/jdk1.8.0_102
sh ./configure
make

Windows

Install:

Build Freetype:

Configure and run make in cygwin shell

OSX

XCode

_The latest XCode can be used, but you need to run make with COMPILER_WARNINGSFATAL=false

Command Line Tools

Freetype

Configure and build jdk

export MACOSX_DEPLOYMENT_TARGET=10.8
cd /path_to_jdk8/
bash configure --with-xcode-path=/Applications/Xcode4/Xcode4.app --with-freetype=/opt/X11/lib --with-freetype-include=/usr/X11/include/freetype2
make images

or

make COMPILER_WARNINGS_FATAL=false images

for the latest XCode

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/