JOnAS does not start with JDK7
When using JDK7, JOnAS startup fails with the error: Welcome to OW2 JOnASException in thread "main" java.lang.IllegalArgumentException: Expression [javase-1.7] could not be resolved. at org.ow2.util.substitution.resolver.RecursiveResolver.resolve(RecursiveResolver.java:120) at org.ow2.util.substitution.engine.element.VariableElement.getValue(VariableElement.java:52) at org.ow2.util.substitution.engine.element.CompositeElement.getValue(CompositeElement.java:68) at org.ow2.util.substitution.engine.DefaultSubstitutionEngine.substitute(DefaultSubstitutionEngine.java:98) at org.ow2.jonas.launcher.jonas.DefaultConfigurationProvider.resolveProperties(DefaultConfigurationProvider.java:202) at org.ow2.jonas.launcher.jonas.DefaultConfigurationProvider.getConfiguration(DefaultConfigurationProvider.java:147) at org.ow2.jonas.launcher.jonas.JOnAS.(JOnAS.java:112) at org.ow2.jonas.commands.admin.ClientAdmin.(ClientAdmin.java:441) at org.ow2.jonas.commands.admin.ClientAdmin.main(ClientAdmin.java:610)