this is basically a very simple question, but i did not found an answer in the user guide.
I installed MPS 2019.2 on MacOS, which includes a jbr under Contents/jbr. Obviously the MPS Workbench itself is running on this very jbr.
But which runtime is used, when compiling some baselang generated code? Yes, i can check Preferences > Java Compiler. But it does not state any jdk paths that are used.
What i tried is setting JAVA_HOME in a bash terminal and starting MPS via command line. Seems that the JAVA_HOME Jdk is used to compile and to run baselang generated code within MPS. Is that correct?
Also experimented with the jetbrains "choose runtime" plugin. This plugin seems to switch the jbr MPS is running on. But on my mac, changing the jbr leads to defects in the code completion menu. So i ll stick to the provided standard jbr in the App Contents folder.
Any links to docs or hint appreciated,