Closed jbrazile closed 4 years ago
@jbrazile Justify CLI with all dependencies can be downloaded from Release in GitHub. Please try it. See also https://github.com/leadpony/justify/blob/master/README.md#command-line-interface
Ahh, I assumed it was a standalone executable jar.
The download indeed includes 17 files/directories which allows it to work.
In case anyone wants a simple, standalone, single jar option (leadpony's cli is much more complete), I threw one together here: https://github.com/jbrazile/jjval
$ wget https://repo1.maven.org/maven2/org/leadpony/justify/justify-cli/2.0.0/justify-cli-2.0.0.jar $ java -jar justify-cli-2.0.0.jar Exception in thread "main" java.lang.NoClassDefFoundError: org/fusesource/jansi/AnsiConsole at org.leadpony.justify.cli.Launcher.createConsole(Launcher.java:64) at org.leadpony.justify.cli.Launcher.launch(Launcher.java:46) at org.leadpony.justify.cli.Launcher.launch(Launcher.java:42) at org.leadpony.justify.cli.Launcher.main(Launcher.java:83) Caused by: java.lang.ClassNotFoundException: org.fusesource.jansi.AnsiConsole at java.net.URLClassLoader.findClass(URLClassLoader.java:382) at java.lang.ClassLoader.loadClass(ClassLoader.java:418) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352) at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ... 4 more