This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
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


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
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: 40051
    
  28
Find the documentation for the java tool, and it has options for source and output compatibility.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: class version problem