i have made an application in JDK7, but the jre6 is still using in the market, and if i send my jar file to someone with jre6, it wont work, is there a way that application
here is an example that checks the version and trows an exception if the version is incorrect using System.getProperty("java.version");
System.getProperty("java.version");