File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes java version finder 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 finder " Watch "java version finder " New topic

java version finder

ram kumar
Ranch Hand

Joined: May 22, 2008
Posts: 146
hi pals,

After a long time am entering this forum,

i just wanted to know is there a way to find the java version by seeing the code.

I have a code and we are unable to find whether what version it is ..

i mean the jdk version !

would some one help me how to do that !


Is there an easy way to do it !


Discussion - the powerfull way to excellence!
Janardan Kelkar
Ranch Hand

Joined: May 05, 2008
Posts: 72

I guess you've got to run it on different versions and see if it runs properly, then you can label the latest version on which it runs as the one on which the code has been written.

When the compiler's not happy, ain't nobody happy.
Pawel Nowacki
Ranch Hand

Joined: Nov 14, 2008
Posts: 67
Maybe this article will help you.
wood burning stoves
subject: java version finder
It's not a secret anymore!