I am trying to use deck2pdf which is a java program to make pdf out of javascript slides presentation.
I followed the installation process from github:
- cloned the repo
- made
./gradlew distZipwhich generated a .zip file inbuild/distributions/ - unizpped this file
deck2pdf-0.2-SNAPSHOT.zipin my JS project folder
this folder has the following content:
- deck2pdf-0.2-SNAPSHOT
- bin
- deck2pdf
- deck2pdf.bat
- lib
- deck2pdf-0.2-SNAPSHOT.jar
- groovy-2.3.2.jar
- itextpdf-5.5.1.jar
- jfxrt.jar
then, I call deck2pdf in the terminal from my project folder,
but it says : command not found
what am I doing wrong?
java -hinto your terminal. What is the result? If Java cannot be found, you might have to modify your System'sPathvariable and add Java.java -hdisplays the manual. when I dojava -versioni havejava version "1.8.0_11". In the path i added this:export JAVA_HOME="/usr/libexec/java_home". should i do something else?