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 :)
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
-
-
NodeBox team NodeBox 3 should be able to run on much more modern JDKs. Can you show the error you're getting?
-
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:- 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/fileAlternatively, 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- 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/fileAlternatively, 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- 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/fileAlternatively, 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 -
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.
-
Yes, it works now!
I was initially running the command on the download pageant 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" -
NodeBox team That's weird. "ant run" should work.
-
Does Guilherme's discovery that updating the JDK from 7 to 11 allows the ant command to execute successfully solve this issue?
https://forum.nodebox.net/t/19582172/update-instalation-instructions-for-linux