I ordered a used mac mini 2014 off ebay and upgraded MacOS to NetBSD 9.2 😆 I did my usual installs including Pycharm (pycharm-bin-2019.1) which is really old. It does not support python3.10. So, I went to the Jetbrains site and downloaded both the pro and the CE editions. Of course PyCharmCE did not work out of the box, so I copied /usr/pkg/pycharm-bin-2019.1.2/bin/pycharm.sh into ~/pycharm-community-2021.3.2/bin and changed the Pycharm specific values. Below is the diff of /usr/pkg/pycharm-bin-2019.1.2/bin/pycharm.sh and the new working pycharm.sh
< if [ -z "$JDK" -a -s "$HOME/.PyCharmCE2021.3/config/pycharm.jdk" ]; then
< USER_JRE=`"$CAT" $HOME/.PyCharmCE2021.3/config/pycharm.jdk`
---
> if [ -z "$JDK" -a -s "$HOME/.PyCharmCE2019.1/config/pycharm.jdk" ]; then
> USER_JRE=`"$CAT" $HOME/.PyCharmCE2019.1/config/pycharm.jdk`
163c163
< elif [ -r "$HOME/.PyCharmCE2021.3/config/pycharm$BITS.vmoptions" ]; then
---
> elif [ -r "$HOME/.PyCharmCE2019.1/config/pycharm$BITS.vmoptions" ]; then
165c165
< VM_OPTIONS_FILE="$HOME/.PyCharmCE2021.3/config/pycharm$BITS.vmoptions"
---
> VM_OPTIONS_FILE="$HOME/.PyCharmCE2019.1/config/pycharm$BITS.vmoptions"
212c212
< -Didea.paths.selector=PyCharmCE2021.3 \
---
> -Didea.paths.selector=PyCharmCE2019.1 \
Yeah... it works. Now, for some reason the pro edition complains about a missing plugin. I'll we what I can do.