Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Set compile target to Java 1.6. #85

Merged
merged 3 commits into from

3 participants

@r0man

As discussed over here:
#82 (comment)

and others added some commits
@nathanmarz
Owner

Can you explain this patch to me? Why does that fix the problem you were having? Aren't the Java classes being built against Java 6 regardless (because that's what's on my machine when I build the jar)?

@r0man

Hi Nathan,

I wrote an answer over there:

#82 (comment)

@sritchie
Collaborator

Nathan, are you okay with merging this?

@nathanmarz
Owner

Yea I'm fine with it

@sritchie sritchie merged commit 4c970ae into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 18, 2012
Commits on Jun 14, 2012
Commits on Jun 19, 2012
  1. Set the javac :target and :source options to 1.6. This prevents

    Roman Scherer authored
    UnsupportedClassVersionError exceptions on Hadoop Clusters still on
    Java 6.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  project.clj
View
1  project.clj
@@ -23,6 +23,7 @@
:jvm-opts ["-Xmx768m" "-server" "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n"]
:source-path "src/clj"
:java-source-path "src/jvm"
+ :javac-options {:target "1.6" :source "1.6"}
:source-paths ["src/clj"]
:java-source-paths ["src/jvm"]
:codox {:include [cascalog.vars cascalog.ops cascalog.io cascalog.api]}
Something went wrong with that request. Please try again.