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 class version problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "class version problem" Watch "class version problem" New topic

class version problem

Ram Korutla
Ranch Hand

Joined: Dec 24, 2007
Posts: 80

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

Campbell Ritchie

Joined: Oct 13, 2005
Posts: 46409
Find the documentation for the java tool, and it has options for source and output compatibility.
I agree. Here's the link:
subject: class version problem
jQuery in Action, 3rd edition