Clone this repo:
  1. f4cdfa7 Merge tag jb8u152-b1343.16 by Dana Dahlstrom · 7 days ago master
  2. c4c668e Revert spurious compiler flag addition by Raluca Sauciuc · 4 months ago
  3. 251a930 Merge tag jb8u152-b1248.8 by Dana Dahlstrom · 4 months ago
  4. 439b5cd JRE-773 JBRE cannot be build with Xcode 9.3 by Alexey Ushakov · 7 months ago jetbrains-master-mirror jb8u152-b1268 jb8u152-b1276 jb8u152-b1278 jb8u152-b1279 jb8u152-b1281 jb8u152-b1282 jb8u152-b1282.2 jb8u152-b1284 jb8u152-b1285 jb8u152-b1286 jb8u152-b1289 jb8u152-b1290 jb8u152-b1290.3 jb8u152-b1291 jb8u152-b1292 jb8u152-b1293 jb8u152-b1293.1 jb8u152-b1293.10 jb8u152-b1293.11 jb8u152-b1293.12 jb8u152-b1293.13 jb8u152-b1293.14 jb8u152-b1293.2 jb8u152-b1293.3 jb8u152-b1298 jb8u152-b1299 jb8u152-b1314 jb8u152-b1315 jb8u152-b1320 jb8u152-b1322 jb8u152-b1323 jb8u152-b1327 jb8u152-b1331 jb8u152-b1333 jb8u152-b1335 jb8u152-b1336 jb8u152-b1338 jb8u152-b1339 jb8u152-b1340 jb8u152-b1341 jb8u152-b1342 jb8u152-b1343 jb8u152-b1343.1 jb8u152-b1343.10 jb8u152-b1343.11 jb8u152-b1343.12 jb8u152-b1343.13 jb8u152-b1343.14 jb8u152-b1343.15 jb8u152-b1343.16 jb8u152-b1343.17 jb8u152-b1343.18 jb8u152-b1343.2 jb8u152-b1343.25 jb8u152-b1343.26 jb8u152-b1343.3 jb8u152-b1343.4 jb8u152-b1343.5 jb8u152-b1344 jb8u152-b1346 jb8u152-b1347 jb8u152-b1348 jb8u152-b1349 jb8u152-b1351 jb8u152-b1352 jb8u152-b1352.1 jb8u152-b1352.2 jb8u152-b1352.3 jb8u152-b1352.4 jb8u152-b1352.5 jb8u152-b1358 jb8u152-b1361 jb8u152-b1362 jb8u152-b1363 jb8u152-b1365 jb8u152-b1370 jb8u152-b1373 jb8u152-b1375 jb8u152-b1379 jb8u152-b1380 jb8u152-b1380.1 jb8u152-b1380.2 jb8u152-b1380.3 jb8u152-b1380.4 jb8u152-b1380.5 jb8u152-b1380.6 jb8u152-b1381 jb8u152-b1389 jb8u152-b1393 jb8u152-b1397 jb8u152-b1402 jb8u152-b1402.1
  5. 6d47516 JRE-718 Support VS2013 in JBRE build by Alexey Ushakov · 9 months ago jb8u152-b1216 jb8u152-b1217 jb8u152-b1218 jb8u152-b1219 jb8u152-b1220 jb8u152-b1221 jb8u152-b1224 jb8u152-b1226 jb8u152-b1226.1 jb8u152-b1226.10 jb8u152-b1226.2 jb8u152-b1226.3 jb8u152-b1226.6 jb8u152-b1226.7 jb8u152-b1226.8 jb8u152-b1226.9 jb8u152-b1227 jb8u152-b1228 jb8u152-b1229 jb8u152-b1231 jb8u152-b1232 jb8u152-b1233 jb8u152-b1234 jb8u152-b1235 jb8u152-b1236 jb8u152-b1237 jb8u152-b1238 jb8u152-b1239 jb8u152-b1239.1 jb8u152-b1239.2 jb8u152-b1239.3 jb8u152-b1248 jb8u152-b1248.1 jb8u152-b1248.14 jb8u152-b1248.15 jb8u152-b1248.16 jb8u152-b1248.17 jb8u152-b1248.18 jb8u152-b1248.19 jb8u152-b1248.20 jb8u152-b1248.21 jb8u152-b1248.22 jb8u152-b1248.3 jb8u152-b1248.4 jb8u152-b1248.5 jb8u152-b1248.6 jb8u152-b1248.7 jb8u152-b1248.8 jb8u152-b1248.9 jb8u152-b1250 jb8u152-b1251 jb8u152-b1253 jb8u152-b1261 jb8u152-b1262 jb8u152-b1263 jb8u152-b1265 jb8u152-b1267

official JetBrains project

Downloads

Windows-x86Windows-x64macOSLinux-x86Linux-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:

  • Download sources
  • Execute the following script in builds\windows\vc2010
(echo ^<?xml version="1.0" encoding="utf-8"?^>
echo ^<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"^>
echo ^<PropertyGroup Label="Globals"^>
echo ^<TargetName^>freetype^</TargetName^>
echo ^<UserIncludeDirectories^>.^</UserIncludeDirectories^>
echo ^</PropertyGroup^>
echo ^<ItemDefinitionGroup^>
echo ^<ClCompile^>
echo ^<ForcedIncludeFiles^>jb_custom.h^</ForcedIncludeFiles^>
echo ^</ClCompile^>
echo ^</ItemDefinitionGroup^>
echo ^</Project^>) > freetype.user.props
(echo #ifndef __JB_CUSTOM_H__
echo #define __JB_CUSTOM_H__
echo #define FT_EXPORT^(x^) __declspec^(dllexport^) x
echo #define FT_BASE^(x^) __declspec^(dllexport^) x
echo #endif) > jb_custom.h
  • Build with VC Express for x64 or win32 target
  • Put freetype.dll, freetype.lib, freetype.exp in lib folder at the same level with include:
freetype
  include
  lib

Configure and run make in cygwin shell

  • 32 bit (use --with-msvcr-dll=/cygdrive/c/windows/SysWOW64/msvcr100.dll on 64 bit windows)
  cd /cygdrive/c/jdk8/
 ./configure  --with-target-bits=32 --with-freetype=/cygdrive/freetype/  
  make images
  • 64 bit
  cd /cygdrive/c/jdk8/
 ./configure  --with-target-bits=64 --with-freetype=/cygdrive/freetype/  
  make images

OSX

XCode

The latest XCode can be used, but you need to run make with COMPILER_WARNINGS_FATAL=false

Command Line Tools

Freetype

cd freetype
./configure
./make
mkdir lib
cp objs/.libs/libfreetype.dylib lib/

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/