Skip to content

Instantly share code, notes, and snippets.

@tinkerware
Last active July 19, 2020 15:38
Show Gist options
  • Star 10 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save tinkerware/5235deb4bacc8ea3d7bc9c3d3972e453 to your computer and use it in GitHub Desktop.
Save tinkerware/5235deb4bacc8ea3d7bc9c3d3972e453 to your computer and use it in GitHub Desktop.
Build hsdis for JDK 1.8u92 on El Capitan
# You will need Mercurial; get it with `brew install hg`.
hg clone http://hg.openjdk.java.net/jdk8u/jdk8u
cd jdk8u
hg update jdk8u92-b14
chmod +x ./get_source.sh; ./get_source.sh
cd hotspot/src/share/tools/hsdis
wget http://ftp.heanet.ie/mirrors/gnu/binutils/binutils-2.26.tar.gz
tar -xzf binutils-2.26.tar.gz
make BINUTILS=binutils-2.26 ARCH=amd64
sudo cp build/macosx-amd64/hsdis-amd64.dylib /Library/Java/Home/jre/lib/server/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment