How can I specify two names to satisfy a Java dependency? I'm using Netbeans and by default, Linux calls OpenJDK "JDK_7". Windows calls Oracle JDK "JDK 1.7". I would like to make it so that by default either name is acceptable because my code builds the same on both platforms.
Is there a way to specify a "platform" can be either A or B in Netbeans/ant?