I'm trying to use the Ghost4j wrapper to convert .ps files to .pdf on macOS 10.12.6 (Sierra)
I have used the sample program found here: http://www.ghost4j.org/highlevelapisamples.html
I have included the all the ghost4j jars and add the ghostscript libraries on the build path.
But I am getting the following error:
org.ghost4j.converter.ConverterException: org.ghost4j.GhostscriptException: Cannot initialize Ghostscript interpreter. Error code is -100
at org.ghost4j.converter.PDFConverter.run(PDFConverter.java:251)
at org.ghost4j.converter.AbstractRemoteConverter.convert(AbstractRemoteConverter.java:85)
at Convert.main(Convert.java:25)
Caused by: org.ghost4j.GhostscriptException: Cannot initialize Ghostscript interpreter. Error code is -100
at org.ghost4j.Ghostscript.initialize(Ghostscript.java:365)
at org.ghost4j.converter.PDFConverter.run(PDFConverter.java:231)
... 2 more
Any suggestions?