Skip to content

Instantly share code, notes, and snippets.

@lelayf
Created April 28, 2014 18:33
Show Gist options
  • Save lelayf/11380244 to your computer and use it in GitHub Desktop.
Save lelayf/11380244 to your computer and use it in GitHub Desktop.
java cross-compilation
# Compliler is jdk 1.7 but jre is 1.6
# I got error
javac -source 1.6 -target 1.6 -bootclasspath /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/rt.jar AvroDataFileReader.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment