Git Product home page Git Product logo

jdk8u-xcode10's Introduction

Compiling OpenJDK 8u on Big Sur using Xcode 12

How to compile JDK 8 with the latest Xcode on the latest macOS.

Currently (March 2021), OpenJDK jdk8u can only be compiled with Xcode 4, which won't run on the latest macOS. This repo contains patches and information for setting up an environment to compile a JDK using the very latest tools.

This patch can build an x86_64 jdk on eithea an Intel or aarch64 Mac, but cannot yet build a native aarch64 JDK.

Quick start:

The easiest way to get a working JDK8u is:

  mkdir workdir
  cd workdir
  git clone https://github.com/stooke/jdk8u-xcode10.git
  ./jdk8u-xcode10/build8.sh
  ./jdk8u-dev/build/maxosx-x86_64-normal-server-release/images/j2sdk-image/bin/java -version
  

Caveats:

  • This patch only works with XCode 9, 10, 11 or 12. (Actually 9 and 11 have not been tested recently)
  • Some of the patches included may apply with offsets, etc.
  • This patch will produce a JDK that runs on macOS 10.9 and above[1]; the original code runs on macOS 10.7 and above.
  • The resultant JDK has not been run through TCK.

[1] Actual OS compatiblity has not been tested.

jdk8u-xcode10's People

Contributors

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