Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/Canton demo on Apple silicon: recommended JDK for the tutorialForum ↗

Canton demo on Apple silicon: recommended JDK for the tutorial

App Development3 posts303 views1 likesLast activity Oct 2022
SI
Simon_LetortOP
Sep 2022

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

SI
Simon_Letort
Sep 2022

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"
GA
Gary_Verhaegen
Oct 2022

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

brew install --cask zulu11
← Back to Discussions