Having an issue building out from source. On a mac, using jenv to run java 1.6. Error follows. Any help would be appreciated.
Code:
$ java -version
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-468)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-468, mixed mode)
$
$ ant
Buildfile: /Users/<me>/Code/KoLmafia/kolmafia-code/build.xml
start:
init:
svn-version:
gitsvn-version:
version:
[echo] Current revision: 19527M
debug:
init:
svn-version:
gitsvn-version:
version:
[echo] Current revision: 19527M
compile:
[javac] Compiling 1393 source files to /Users/<me>/Code/KoLmafia/kolmafia-code/build
[javac] /Users/<me>/Code/KoLmafia/kolmafia-code/lib/org/jdesktop/swingx/JXLabel.java:71: cannot access org.jdesktop.swingx.painter.AbstractPainter
[javac] bad class file: /Users/<me>/Code/KoLmafia/kolmafia-code/build/org/jdesktop/swingx/painter/AbstractPainter.class
[javac] class file has wrong version 52.0, should be 50.0
[javac] Please remove or make sure it appears in the correct subdirectory of the classpath.
[javac] import org.jdesktop.swingx.painter.AbstractPainter;
[javac] ^
[javac] Compile failed; see the compiler error output for details.
BUILD FAILED
/Users/<me>/Code/KoLmafia/kolmafia-code/build.xml:363: The following error occurred while executing this line:
/Users/<me>/Code/KoLmafia/kolmafia-code/build.xml:149: Failed to compile third-party libraries
Total time: 5 seconds