0

Have a scenario where i need to compile my project with jdk 1.5 but run it with jre 1.6. I can't find a way to switch the jre that is used when running my program. I read something about execution profiles in an earlier version of netbeans, but 6.8 doesn't seem to support this. Any ideas?

Seems easy to do in eclipse.

Community
  • 1
  • 1
emeraldjava
  • 10,894
  • 26
  • 97
  • 170

1 Answers1

1

You go to project-> properties - > sources ->binary source format and you pick your jdk 1.5 in your case. In libraries you can pick Java Platform

Mite Mitreski
  • 3,596
  • 3
  • 29
  • 39