This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Java in General and the fly likes java compiler version 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 » Java in General
Bookmark "java compiler version" Watch "java compiler version" New topic
Author

java compiler version

Karthik Krishnamurthy
Ranch Hand

Joined: Feb 04, 2005
Posts: 118
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

Joined: Sep 19, 2008
Posts: 385
check this

here


SCJP 6,SCWCD 5,SCBCD 5

Failure is not an option.
Karthik Krishnamurthy
Ranch Hand

Joined: Feb 04, 2005
Posts: 118
Thanks Siva. Works like a charm

Karthik
Samuel Behrman
Ranch Hand

Joined: Oct 02, 2009
Posts: 49
I think it is jdk6.


RAQ Report: Web-based Excel-like Java reporting tool.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19538
    
  16

How can you tell without even having the class files?


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39535
    
  27
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).


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java compiler version
 
Similar Threads
Difference between Struts,The Complete Reference and Pro Jakarta Struts?
Graphics
java version
problem in enhanced for loop
WA #1.....word association