> 
> **Possible Duplicate:**  
> 
> [How to know JDK version from within Java code](https://stackoverflow.com/questions/4638994/how-to-know-jdk-version-from-within-java-code) 
> 
> 
> 

In my java code I want to check `jdk` version. If it is 1.5 or above than & than only I want to go ahead with further execution. How to get the `jdk` version ?