I am working on a project where I need to build against JDK 1.6, but I would like to test it with both Java 1.6 and 1.7 - I have both Java 1.6 and 1.7 JDK installed.
I know that I can create a new Java platform for everyone, but this will lead to the project being built against JDK 1.6 / 1.7, but I want it to run against both. Is there an easy way to tell Netbeans to build against my JDK 1.6 platform, but work using the Java JRE JRE. Or even if it is possible to use an external JRE to run the project, I could make it work.
source
share