I would like to have the possibility to choose a different default java platform from the java platform panel.
The motivation is that the one currently set corresponds to that used by Netbeans itself that usually is the last available java version (in this case JDK8).
Into my company is not used the last JDK (and I think that is rare that a company migrates its projects to the last JDK version immediatly after it is released) so I have to change continuously the project properties to set a different java version for each project on which I work.
Now consider that each project is an huge maven project composed by many submodule so that I have to change the configuration not only of the main project but also of the submodule that I want to modify and compile separately.
Furthermore I can put into the company repository only the sources and not the netbeans descriptor so when I do the fix and delete the project from my machine the netbeans configuration is lost and next time I have again to edit the properties of each project to set again the JDK6 when I yet know that all the projects of my company uses that version.
Thanks and best regards,
the "Default Platform" is a bit different compared to other platforms.
In fact it has two functions and the name is misleading.
1st) It's an always available platform
2nd) It has a different build process, the <javac> may not fork into external VM so the build is faster (can be configured in project.properties).
There was also 3rd) function it was used when creating a new project. This was changed (at least for ant based projects) and the last used platform is used. When you set a platform in project, the platform is used when creating a new project.
A agree It would be good to allow user to select the platform for the 3rd function. The 1st) and 2nd) are properties only of the platform the IDE runs on.
Also the related issue is:
*** Bug 163840 has been marked as a duplicate of this bug. ***