Using OpenJDK Install Failure: Unrecognized VM option 'MaxPermSize=256m'
% java --version
openjdk 17.0.2 2022-01-18
OpenJDK Runtime Environment Homebrew (build 17.0.2+0)
OpenJDK 64-Bit Server VM Homebrew (build 17.0.2+0, mixed mode, sharing)
% ./dataiku-dss-10.0.5-osx/installer.sh -d ~/Library/DataScienceStudio/dss_home -p 11200
*********************************************
* Dataiku DSS installer *
*********************************************
[+] Creating data directory: /Users/pyousefi/Library/DataScienceStudio/dss_home
[+] Saving installation log to /Users/pyousefi/Library/DataScienceStudio/dss_home/run/install.log
[+] Using custom Java environment "/usr/local/opt/openjdk/bin/java"
[+] Checking required dependencies
+ Detected OS distribution : osx 12.2
+ Checking required packages...
[+] Installation starting
[+] Initializing Python environment
[+] Initializing Python environment using platform default
+ Using default base Python for this platform : /usr/bin/python2.7
created virtual environment CPython2.7.18.final.0-64 in 679ms
creator CPython2macOsFramework(dest=/Users/pyousefi/Library/DataScienceStudio/dss_home/pyenv, clear=False, no_vcs_ignore=False, global=False)
seeder FromAppData(download=False, pip=bundle, wheel=bundle, setuptools=bundle, via=copy, app_data_dir=/Users/pyousefi/Library/Application Support/virtualenv)
added seed packages: pip==20.3.4, setuptools==44.1.1, wheel==0.37.0
activators NushellActivator,PythonActivator,FishActivator,CShellActivator,PowerShellActivator,BashActivator
[+] Precompiling Dataiku Python code
[+] Precompiling Jupyter Python code
[+] Precompiling third-party Python 2.7 code
[+] Performing initial install
[+] Writing version metadata conf=10040 product=10.0.5 revision=
[+] Writing default install config file
[+] Writing default env file
[+] Preparing data directory initial data
Unrecognized VM option 'MaxPermSize=256m'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.