Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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