Compile failed (Linux Mint 17.2)

issa's Avatar

issa

25 Oct, 2015 02:59 AM

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.

  1. 1 Posted by issa on 25 Oct, 2015 08:11 PM

    issa's Avatar

    I have the exact same issue on my machine running Xubuntu 15.10.

  2. Support Staff 2 Posted by Frederik De Ble... on 26 Oct, 2015 02:18 PM

    Frederik De Bleser's Avatar

    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. 3 Posted by issa on 29 Oct, 2015 03:42 AM

    issa's Avatar

    Oh, thanks! ^.^

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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

Recent Discussions

06 Feb, 2025 01:37 AM
04 Feb, 2025 06:32 AM
04 Feb, 2025 05:04 AM
30 Jan, 2025 09:31 AM
30 Jan, 2025 09:08 AM

 

30 Jan, 2025 08:40 AM
24 Jan, 2025 07:50 AM
22 Jan, 2025 11:42 PM
21 Jan, 2025 09:43 AM
21 Jan, 2025 09:41 AM
21 Jan, 2025 09:36 AM