Meaningless Drivel is fun!
The moose likes Beginning Java and the fly likes java version. How to check? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "java version. How to check?" Watch "java version. How to check?" New topic

java version. How to check?

Ivan Franko
Ranch Hand

Joined: May 30, 2011
Posts: 46
On my computer i can check java version use command line: java -version.

But, how I can do it in code?


I finded answer:

I agree. Here's the link:
subject: java version. How to check?
It's not a secret anymore!