Preparation¶
Before you install SPARCK, you need the following Software and Libraries installed:
- direct download: jdk-19.0.2 for ARM 64
- or if you are on an older machine: download jdk-19.0.2 for x64
- Install the JDK
- Alternatively go to Java Archive
- If you encounter an error message, click on the url and press enter. This will reload that page correctly.
- Select "Java SE 19" (Newer versions do not work anymore with Max)
- scroll down to "macOS Arm 64 DMG Installer" or "macOS x64 DMG Installer" depending on your machine
- download the installer
- Install the JDK
-
Install Brew -> https://brew.sh/
Open Terminal (press cmd-space and enter 'terminal' in the spotlight search bar)
https://brew.sh/ and follow the instructions
-
Install Git via Brew
Open Terminal (or the same as above
https://git-scm.com/install/mac and follow instructions under Homebrew
- direct download: jdk-19.0.2
- Install the JDK by running the installer
- right-click "save-link-as" this link
- double click the downloaded java19.reg file to add the needed paths to your registry
- done. Max should now be able to find Java.
- Alternatively go to Java Archive
- If you encounter an error message, click on the url and press enter. This will reload that page correctly.
- Select "Java SE 19" (Newer versions do not work anymore with Max)
- scroll down to "Windows x64 Installer"
- download the installer
- Install the JDK
- Set the Registry paths for Max
- you need to adjust the paths in this .reg script accordingly:
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft] [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\JDK] "CurrentVersion"="1.19" [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\JDK\1.19] "JavaHome"="C:\\Program Files\\Java\\jdk-19" [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit] "CurrentVersion"="1.19" [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\1.19] "JavaHome"="C:\\Program Files\\Java\\jdk-19" [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\JRE] "CurrentVersion"="1.19" [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\JRE\1.19] "RuntimeLib"="C:\\Program Files\\Java\\jdk-19\\bin\\server\\jvm.dll" "JavaHome"="C:\\Program Files\\Java\\jdk-19" [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment] "CurrentVersion"="1.19" [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.19] "RuntimeLib"="C:\\Program Files\\Java\\jdk-19\\bin\\server\\jvm.dll" "JavaHome"="C:\\Program Files\\Java\\jdk-19" - replace all
1.19with the version you have installed - replace all
C:\\Program Files\\Java\\jdk-19with the path where you have installed Java - Save the script as a .reg file and double click it to add the paths to your registry.
- you need to adjust the paths in this .reg script accordingly:
- Search for 'power shell' in the windows search bar
- Select the one with the admin rights
- Open Power Shell (as Admin)
- follow link and the instructions under Using winget tool -> https://git-scm.com/install/windows