tag | 83d9dc2c77a3b69e073edbda300f585c3dbd4cad | |
---|---|---|
tagger | teamcityserver <teamcityserver@buildserver-ro-srv.Labs.IntelliJ.Net> | Wed Jun 26 07:04:55 2019 +0300 |
object | 9f62d7426302091e85e720c97b2d8bb763c5f5de |
commit | 9f62d7426302091e85e720c97b2d8bb763c5f5de | [log] [tgz] |
---|---|---|
author | Alexey Ushakov <alexey.v.ushakov@gmail.com> | Wed Apr 24 13:53:32 2019 +0300 |
committer | GitHub <noreply@github.com> | Wed Apr 24 13:53:32 2019 +0300 |
tree | 60774dab0734dd04abb3828c55243f8147601625 | |
parent | 5bdbbe90bb3b79c0ebbb709aa136520773fb10fa [diff] | |
parent | a5b01c92c1a38df0fcfcbc4da9a835fdd4ba8e0c [diff] |
Merge pull request #17 from bell-sw/update_8u212 jdk-8u212 update
Windows-x86 | Windows-x64 | macOS | Linux-x86 | Linux-x64 |
---|---|---|---|---|
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.
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
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
Install:
Build Freetype:
(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
freetype include lib
Configure and run make in cygwin shell
cd /cygdrive/c/jdk8/ ./configure --with-target-bits=32 --with-freetype=/cygdrive/freetype/ make images
cd /cygdrive/c/jdk8/ ./configure --with-target-bits=64 --with-freetype=/cygdrive/freetype/ make images
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
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/