I build and run Briss on Windows:
- Zulu OpenJDK 11 currently: zulu11.37.17-ca-jdk11.0.6-win_x64.zip
- Maven currently: apache-maven-3.6.3-bin.zip
git clone -b jdk11_build https://github.com/fwmechanic/JPedal.git
- fork of https://github.com/Lonzak/JPedal.git that builds using JDK 11
mvn clean install
- first, a handy utility for PATH-phobics like me:
fbindir() ( find ~/my/bin/ -mindepth 2 -maxdepth 2 -ipath ~/my/bin/"$1"'*'/bin )
- example:
JAVA_HOME="$(fbindir zulu11)" "$(fbindir apache-maven-)"/mvn clean install
- first, a handy utility for PATH-phobics like me:
mvn clean package
- example:
JAVA_HOME="$(fbindir zulu11)" "$(fbindir apache-maven-)"/mvn clean package
- this writes 2 .jar files into
$thisreporoot/target/
: a smaller.jar
with name-prefixoriginal-
and a larger.jar
lacking that prefix; the larger is an "uber-jar" containing all prereqs; all you need to run it is a Java 11'sjava
, demonstated next).
- example:
java -jar "$thisreporoot/target/briss-1.0-rc.2.jar" "$fnm_of_pdf_to_crop"
- example:
briss() ( "$(fbindir zulu11)"/java -jar ~/my/repos/briss2/target/briss-1.0-rc.2.jar "$1" )