The new NodeBox forum is live! Everything from support.nodebox.net moved here: sign in with the same email to pick up your old posts. Something not working? Write to forum-support@nodebox.net.

NodeBox 3From the old forum

Compile failed (Linux Mint 17.2)

3 replies Last reply

  1. 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.

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

    Copy link
  3. NodeBox team

    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.

    Copy link

Know something that helps?

Sign in with your email address to reply. No password needed.

Sign in to reply