• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java compiler version

 
Karthik Krishnamurthy
Ranch Hand
Posts: 118
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I need to figure out what version of jdk was used to compile a whole bunch of files. Is there any way to do this?

Thank You
Karthik
 
Siva Masilamani
Ranch Hand
Posts: 385
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check this

here
 
Karthik Krishnamurthy
Ranch Hand
Posts: 118
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Siva. Works like a charm

Karthik
 
Samuel Behrman
Ranch Hand
Posts: 49
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think it is jdk6.
 
Rob Spoor
Sheriff
Pie
Posts: 20372
44
Chrome Eclipse IDE Java Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can you tell without even having the class files?
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think it is possible to find out which JDK was used for compiling. What *is* possible (and what that linked page shows) is which JRE the class was compiled *for* (which is, of course, the more useful thing to know).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic