Default Project SDK
How do you set which SDK is the default selected SDK when a new project is created? When I create a new project it always selects the IDEA SDK (used for plugin development) rather than 1.5 and 1.6 which I also have configured.
Generally this isn't a problem as I just change it. However, it becomes a problem when I create a Grails project because JAVA_HOME is set to Java 1.6 so Grails complains about JAVA_HOME not being set correctly so IntelliJ can't run the create-app task. Presumably because JAVA_HOME isn't set to the same SDK as the grails tasks are being run under as IntelliJ runs the grails task with the project SDK vm.
请先登录再写评论。
I think this should do it (but never tried).
Main Menu: File => Other Settings => Template Project Structure
On 27.04.2010 21:37, Michael Parmeley wrote:
>
>