File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "java version. How to check?" Watch "java version. How to check?" New topic
Author

java version. How to check?

Ivan Franko
Ranch Hand

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

But, how I can do it in code?

Thanks.


I finded answer:

System.getProperty("java.version");
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java version. How to check?
 
Similar Threads
Http status 500
Comparing XML to XSLT
BigDecimal problem
how to know the string is number or charactor?
How to check the jdk bit version (32bit or 64 bit)