Skip to content

UnsupportedClassVersionError #26

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ivanmladek opened this issue Mar 20, 2013 · 9 comments
Open

UnsupportedClassVersionError #26

ivanmladek opened this issue Mar 20, 2013 · 9 comments

Comments

@ivanmladek
Copy link

When compiling simple code with the cartodb-clj library an UnsupportedClassVersionError error comes up. I recall seeing that before on someone's machine during the EcoHack. How did we solve it?

~/dev/weatherbill/projects/blue-marble/banzai$ ../../../tools/lein2 do clean, compile, jarhadoop
Compiling com.climate.banzai.cartodb.hadoop.cartodb
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/cartodb/impl/SecuredCartoDBClient : Unsupported major.minor version 51.0, compiling:(core.clj:1)
at clojure.lang.Compiler$InvokeExpr.eval(Compiler.java:3387)
at clojure.lang.Compiler.compile1(Compiler.java:7035)
at clojure.lang.Compiler.compile1(Compiler.java:7025)

@danhammer
Copy link
Member

I am getting this too, now. @eightysteele any suggestions? some versioning error.

@eightysteele
Copy link
Member

I think @robinkraft sorted this out. Robin, what was the fix?

@danhammer
Copy link
Member

Great. I just wrote a project (up until the cartodb upload) to harvest the
fires periodically for Indonesia. We can monitor the effect on Singapore.
Let me know when you figure it out.

On Sat, Jun 22, 2013 at 8:53 PM, Aaron Steele [email protected]:

I think @robinkraft https://github.com/robinkraft sorted this out.
Robin, what was the fix?


Reply to this email directly or view it on GitHubhttps://github.com//issues/26#issuecomment-19868650
.

@robinkraft
Copy link
Member

I don't remember, sorry. Probably a deps or java version issue.

@danhammer
Copy link
Member

Yes. This was the issue. You need to have the official, Oracle version of JDK, found here. I will start a new issue to add this to the README.

@robinkraft
Copy link
Member

That sucks. Maybe open an issue/support message w cartodb about their java library?

On Jun 24, 2013, at 8:20 AM, Dan [email protected] wrote:

Yes. This was the issue. You need to have the official, Oracle version of JDK, found here. I will start a new issue to add this to the README.


Reply to this email directly or view it on GitHub.

@ivanmladek
Copy link
Author

Thanks guys for the reply, and sorry for not getting to this earlier.

@robinkraft robinkraft reopened this Aug 15, 2013
@robinkraft
Copy link
Member

Seems this is an issue with cartodb-clj version 1.5.5, but not 1.5.0.

@robinkraft
Copy link
Member

The major difference seems to be the addition of the official CartoDB Java client, replacing the version @eightysteele had forked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants