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 class version problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "class version problem" Watch "class version problem" New topic
Author

class version problem

Ram Korutla
Ranch Hand

Joined: Dec 24, 2007
Posts: 80
Hi

I had re-compiled the sources of Daisy Diff open source with JDK1.5 using ant which creates a jar of the compiled classes.

However, when I checked the version of the class, it is 50 and it said I should use JDK6 or above.

Our project is supposed to work with JDK 5.

Can someone let me know how to overcome above problem

Thanks
Phani
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 32708
    
    4
Find the documentation for the java tool, and it has options for source and output compatibility.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: class version problem
 
Similar Threads
Overloading with var-args
What does this mean: Compiled from BinConverter.java (version 1.3 : 47.0, super bit)?
Local Class Declaration
How to find which version of java was used to compile particular java class.
Debugging WebSphere 5.02 using Eclipse 2.1