Only work in java 7??
I compile my project in java 1.6 and the machine is 1.6, but whne i call your method i have this error java.lang.UnsupportedClassVersionError: net/aksingh/java/api/owm/OpenWeatherMap : Unsupported major.minor version 51.0
I thinks this is because, your jar is compile in java 7, isn't? I can run your library in java 6??
Comments (3)
-
reporter -
repo owner Hi Jorge,
Yes, the problem is same which you suspected. I had compiled the code with Java 7 and that's why the problem. Thanks for trying the possibilities and getting the solution. I'm working on the next release of the library. I will compile it with Java 6.
Would you like to suggest some feature or upgrade for the next version?
Thanks!
-
repo owner - changed status to resolved
Source code is compiled with Java 7 and not with Java 6. Kindly re-compile the source code using Java 6 and things will work. :)
I will compile future releases with Java 6 to support the work of people like you.
- Log in to comment
I found the proble, the library(OWMJAPis.jar and JSON.jar) ara compiled with java 7, I dowload the sourdes and recompile with java 6 and work fine