Install on Linux
To install the
polycommand on Linux:
- Create a directory, e.g.
/usr/local/polylithand copy the jar file to that directory.
- Create a file with the name
polyand put it in e.g.
/usr/local/binwith this content:#!/bin/shARGS=""while [ "$1" != "" ] ; doARGS="$ARGS $1"shiftdoneexec "/usr/bin/java" $JVM_OPTS "-jar" "/usr/local/polylith/poly-0.2.17-alpha.jar" $ARGS
- Make sure that:
- you point to the correct jar file.
- the path to
javais correct (can be verified with
- If you choose
/usr/local/bin, it was probably already on your path, otherwise you have to add it.
- Make it executable by executing
chmod +x poly.
Verify the installation by executing