GithubHelp home page GithubHelp logo

bhanditz / jdk8u Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jetbrains/jdk8u

0.0 2.0 0.0 13.03 MB

License: GNU General Public License v2.0

Makefile 0.54% HTML 4.76% Shell 83.00% M4 11.06% C 0.33% Batchfile 0.02% sed 0.11% Perl 0.18%

jdk8u's Introduction

official JetBrains project

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 [email protected]:JetBrains/jdk8u.git
cd jdk8u
./getModules.sh

Windows:

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

jdk8u's People

Contributors

avu avatar bulenkov avatar forantar avatar denis-fokin avatar kirilltim avatar pavelfatin avatar theindifferent avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.