tag:support.nodebox.net,2012-11-01:/discussions/nodebox-2-3/6328-installation-on-linuxNodeBox: Discussion 2021-05-23T22:02:23Ztag:support.nodebox.net,2012-11-01:Comment/489687842021-01-13T14:14:35Z2021-01-13T14:14:35ZInstallation on Linux<div><p>NodeBox 3 should be able to run on much more modern JDKs. Can you show the error you're getting?</p></div>Frederik De Blesertag:support.nodebox.net,2012-11-01:Comment/489687842021-01-14T04:47:23Z2021-01-14T04:47:23ZInstallation on Linux<div><p>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.</p>
<p>BUILD FAILED</p>
<h2><a name="-build-xml-86-unable-to-resolve-artifact-missing-" class="anchor" href="#-build-xml-86-unable-to-resolve-artifact-missing-"></a>..../build.xml:86: Unable to resolve artifact: Missing:</h2>
<p>1) org.clojure:clojure:jar:1.8.0</p>
<p>Try downloading the file manually from the project website.</p>
<p>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</p>
<p>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]</p>
<p>Path to dependency: 1) net.nodebox:nodebox:jar:3.0.44 2) org.clojure:clojure:jar:1.8.0</p>
<p>2) com.jayway.jsonpath:json-path:jar:0.8.1</p>
<p>Try downloading the file manually from the project website.</p>
<p>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</p>
<p>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]</p>
<p>Path to dependency: 1) net.nodebox:nodebox:jar:3.0.44 2) com.jayway.jsonpath:json-path:jar:0.8.1</p>
<p>3) org.python:jython-standalone:jar:2.7.0</p>
<p>Try downloading the file manually from the project website.</p>
<p>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</p>
<p>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]</p>
<p>Path to dependency: 1) net.nodebox:nodebox:jar:3.0.44 2) org.python:jython-standalone:jar:2.7.0</p></div>anushka16798tag:support.nodebox.net,2012-11-01:Comment/489687842021-01-15T09:46:14Z2021-01-15T09:46:14ZInstallation on Linux<div><p>In my testing, this happened because the build process was trying to download dependencies from an unsecure server.</p>
<p>I've now updated the dependencies file (pom.xml). Try doing "git pull" and building again and see if that works.</p></div>Frederik De Blesertag:support.nodebox.net,2012-11-01:Comment/489687842021-01-20T03:21:41Z2021-01-20T03:21:41ZInstallation on Linux<div><p>Yes, it works now!<br>
I was initially running the command on the download page <code>ant run</code>, 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.<br>
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"</p></div>anushka16798tag:support.nodebox.net,2012-11-01:Comment/489687842021-01-20T07:00:28Z2021-01-20T07:00:28ZInstallation on Linux<div><p>That's weird. "ant run" should work.</p></div>Frederik De Blesertag:support.nodebox.net,2012-11-01:Comment/489687842021-05-23T22:02:22Z2021-05-23T22:02:22ZInstallation on Linux<div><p>Does Guilherme's discovery that updating the JDK from 7 to 11 allows the ant command to execute successfully solve this issue?</p>
<p><a href="http://support.nodebox.net/discussions/nodebox-2-3/6390-update-instalation-instructions-for-linux">http://support.nodebox.net/discussions/nodebox-2-3/6390-update-inst...</a></p></div>john