How to set up enviroment?

If Scilab is started in a chroot, you might want to try to set the two environment variables: SCI_DISABLE_TK=1 SCI_JAVA_ENABLE_HEADLESS=1

Does anyone know how to setup enviroment for Scilab 2024 for Mac M1?