Skip to content
CCPEDIAby Unity Nodes
App Development

Canton demo on Apple silicon: recommended JDK for the tutorial

3 posts333 views1 likesLast activity Oct 2022

  1. Simon_LetortOP

    When running the Canton demo on an M1/M2 Mac, you may get this message:
    “On Apple Silicon, you need to run the demo with a JDK that natively includes JavaFX. You can download it from here: Java Download | Java 7, Java 8, Java 11, Java 13, Java 15, Java 17, Java 19 - Linux, Windows & macOS”

  2. Simon_Letort 1

    An easy way to install the suggested Azul Zulu JDK on Apple silicon Macs is to:

    • download the .dmg from here.
    • edit your zsh profile (w/ VS code): code ~/.zprofile
    • add or edit the line to point JAVA_HOME to the Zulu JDK: export JAVA_HOME="/Library/Java/JavaVirtualMachines/zulu-11.jdk/Contents/Home"
  3. Gary_Verhaegen

    If you’re the type of person who likes their uninstallers managed, you can also install with Homebrew:

    brew install --cask zulu11