-
Notifications
You must be signed in to change notification settings - Fork 24
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
Support for Jdk 1.6 #26
Comments
Hmm, I think that's mainly I don't even JDK 1.6 so I didn't bother compiling with it. Do you need the maven dependency to work? In that case I'd have to make a 1.4.2 that is binary compatible with 1.6. Otherwise, I suppose you can just clone and compile the project. |
I tried cloning and compiling. It didn't work as Json.java uses Objects class that is introduced only in Java 1.7. |
OK, I will take a look. It should be easy to backport. It was my intention to keep 1.6 compatibility.... |
Hi @ayyagari , So I modified the maven compiler plugin configuration like this:
and the produced jar file was tested and worked file with a java 6 compiler and runtime. Let me know if that works for you and if you would like an official release 1.4.2 to maven central (it does take a bit of time to do, so I won't spend that time unless it's actually useful to somebody :) |
v1.4.0 binary seems to be compiled with Java 7 (Unsupported major.minor version 51.0)
Is there a binary version for Java 1.6?
Thanks!
The text was updated successfully, but these errors were encountered: