Hi Dubey,
This link could be helpful to know how to work with different java versions on your PC Troubleshooting PI ESR and Integration Builder Logon Issues - Process Integration - SCN Wiki
To know your jvm PI version you can go trough (http://host:port/nwa/sysinfo), although this link can change depending your PI version.
Regards.