Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JRE Version at runtime

807588Jun 26 2009 — edited Jun 26 2009
Hi,

How do i get the JRE version on which my code is getting executed.

I could try System.getProperty(), however that would only return what is set at the system level. It need not be the one on which i am executing.

We are planning to change the behaviour depending on teh version on which the code is being run say we want to load different classess

Can this be done?

Thanks
Vignesh
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 24 2009
Added on Jun 26 2009
5 comments
30 views