Compile failed (Linux Mint 17.2)
Hello,
I can't seem to build NodeBox following the instructions on the site.
ant run returns:
$ sudo ant run
Buildfile: /usr/share/nodebox/build.xml
[taskdef] Could not load definitions from resource com/sun/javafx/tools/ant/antlib.xml. It could not be found.
properties:
init:
[mkdir] Created dir: /usr/share/nodebox/build/prod
[mkdir] Created dir: /usr/share/nodebox/build/test
[mkdir] Created dir: /usr/share/nodebox/build/doc
[mkdir] Created dir: /usr/share/nodebox/dist
[mkdir] Created dir: /usr/share/nodebox/dist/resources
compile:
[javac] Compiling 230 source files to /usr/share/nodebox/build/prod
[javac] javac: invalid target release: 1.7.0
[javac] Usage: javac <options> <source files>
[javac] use -help for a list of possible options
BUILD FAILED
/usr/share/nodebox/build.xml:114: Compile failed; see the compiler error output for details.
Total time: 1 second
Seems like an issue with my java compiler, however java -version returns:
$ java -version
java version "1.7.0_79"
OpenJDK Runtime Environment (IcedTea 2.5.6) (7u79-2.5.6-0ubuntu1.14.04.1)
OpenJDK 64-Bit Server VM (build 24.79-b02, mixed mode)
By the way, NodeBox looks incredible! I'm a big pd user and getting into python. I'm looking forward to communicating my pd patches with NodeBox over OSC.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by issa on 25 Oct, 2015 08:11 PM
I have the exact same issue on my machine running Xubuntu 15.10.
Support Staff 2 Posted by Frederik De Ble... on 26 Oct, 2015 02:18 PM
The source and target release are set to 1.8, so you need Java 8.
If that's an issue, there's not that much Java 8 code in NodeBox, so we could try to roll that back and force compatibility with Java 1.7.
3 Posted by issa on 29 Oct, 2015 03:42 AM
Oh, thanks! ^.^