I have a jar file compiled using jdk 1.7, I\'d like to check during load time that the java runtime environment my jar is running under is 1.7 or newer. Is there a way to do
Consider deploying your software using Java Web Start technology. You can then specify in the jnlp file the exact java version supported by your application.
Specifically the minimum java version is declared in the j2se element.
For example:
Dynamic Tree Demo
Dynamic Team
See this link for more information