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

Installation on Linux

6 replies Last reply

  1. Hello everyone!
    I am a complete beginner, and have worked with processing and p5.js till now, so really excited to get started with the nodebox paradigm.
    Currently, while trying to install nodebox3 on my linux machine, I get an error where the ant process is unable to download files from the mvn repo. Plus the build also requires openjdk-7 and since I have ubuntu 20.04, it would be hacky, i think, to try and install that. So I am wondering if the best way to run nodebox 3 on linux is to use the windows build and run using wine.
    Has anyone done this before and does it work?
    thanks :)

    Copy link
  2. NodeBox team

    NodeBox 3 should be able to run on much more modern JDKs. Can you show the error you're getting?

    Copy link
  3. Thank you for replying, the error i get is as follows. I saw this over at github as well and tried the solutions mentioned there(like updating certs), but couldn't get it to work.

    BUILD FAILED
    ..../build.xml:86: Unable to resolve artifact: Missing:

    1. org.clojure:clojure:jar:1.8.0

    Try downloading the file manually from the project website.

    Then, install it using the command:
    mvn install:install-file -DgroupId=org.clojure -DartifactId=clojure -Dversion=1.8.0 -Dpackaging=jar -Dfile=/path/to/file

    Alternatively, if you host your own repository you can deploy the file there:
    mvn deploy:deploy-file -DgroupId=org.clojure -DartifactId=clojure -Dversion=1.8.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

    Path to dependency:
    1) net.nodebox:nodebox:jar:3.0.44
    2) org.clojure:clojure:jar:1.8.0

    1. com.jayway.jsonpath:json-path:jar:0.8.1

    Try downloading the file manually from the project website.

    Then, install it using the command:
    mvn install:install-file -DgroupId=com.jayway.jsonpath -DartifactId=json-path -Dversion=0.8.1 -Dpackaging=jar -Dfile=/path/to/file

    Alternatively, if you host your own repository you can deploy the file there:
    mvn deploy:deploy-file -DgroupId=com.jayway.jsonpath -DartifactId=json-path -Dversion=0.8.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

    Path to dependency:
    1) net.nodebox:nodebox:jar:3.0.44
    2) com.jayway.jsonpath:json-path:jar:0.8.1

    1. org.python:jython-standalone:jar:2.7.0

    Try downloading the file manually from the project website.

    Then, install it using the command:
    mvn install:install-file -DgroupId=org.python -DartifactId=jython-standalone -Dversion=2.7.0 -Dpackaging=jar -Dfile=/path/to/file

    Alternatively, if you host your own repository you can deploy the file there:
    mvn deploy:deploy-file -DgroupId=org.python -DartifactId=jython-standalone -Dversion=2.7.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

    Path to dependency:
    1) net.nodebox:nodebox:jar:3.0.44
    2) org.python:jython-standalone:jar:2.7.0

    Copy link
  4. NodeBox team

    In my testing, this happened because the build process was trying to download dependencies from an unsecure server.

    I've now updated the dependencies file (pom.xml). Try doing "git pull" and building again and see if that works.

    Copy link
  5. Yes, it works now!
    I was initially running the command on the download page ant run, but that was still giving me the same error. When i checked out the github actions page, I found another mvn command and using that I could build.
    This might be a beginner question but how do i run the jar file, cos doing java -jar target/name-of-file says "no main manifest attribute, in target/nodebox-3.0.44.jar"

    Copy link
  6. NodeBox team

    That's weird. "ant run" should work.

    Copy link

Know something that helps?

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

Sign in to reply