When I build and run the IDEA source code from another IDEA instance, where does the IDEA instance I just built get the JVM arguments from?
I can see in build/idea-sandbox/system/log/idea.log that it gets parameters such as:
-Dapple.awt.fileDialogForDirectories=true -Dapple.laf.useScreenMenuBar=true -Didea.classpath.index.enabled=false -XX:MaxPermSize=250m -Xms256m -Xmx512m -Dfile.encoding=UTF-8 -Duser.country=US -Duser.language=en -Duser.variant -ea
but where does this come from?
I am particularly interested in the useScreenMenuBar setting as it looks like I'll need to set that to false as a workaround. How do I do this?