java - How can I specify a blanket build config in NetBeans 8? -


as know, in transition between java 7 , java 8. have both java 7 , java 8 jdk installed. in interests of keeping hands-off approach want make java 7 jdk default java build environment.

leaving java 8 jdk installed trials, testing, , migration.

however @ current time, netbeans 8 insists java 8 is-the default.

what i'd set: java 7 default.

and specify java 8 on per-project basis until i'm satisfied new build. @ point, imagine change our default java. challenge there's no clear way change default java configuration.

this not helped fact "java platform manager"is not part of "options", , lives on tools menu / "java platforms. have been able to ideaj when moving java 6 java 7. using netbeans on project need achieve same end netbeans. clear, i'm comfortable using java 8 netbeans runtime. project builds want specific java 7 target environment.

according topic below: in netbeans how change default jdk?, changing netbeans_jdkhome change netbeans running environment. prefer set build-target generally. thanks in advance!

see also:

  1. in netbeans how change default jdk?
  2. netbeans v8 readme: "nbjdk.active [since 5.0u1] - name of java platform (jdk) use when building , running".

if understand question properly, each project can assigned it's own java platform property, example, right click project in question , select "properties"...

properties

from properties dialog, select "libraries" , select "java platform" want use...

properties

personally, find having platforms pre-configured simpler.

if you're upgrading project, may need check "source/binary format" property in "sources" sections (it's own bottom), stay @ level of old version of java (if downgrade, adjusts automatically)


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -