HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML Forums › Licensing / Purchasing of PD4ML › How to remove demo watermark when using CLI? › Reply To: How to remove demo watermark when using CLI?
DEMO watermark is added if it was not able to find pd4ml.lic, otherwise it would appear as EVALUATION watermark.
It is a good idea to achieve during the evaluation it shows EVALUATION watermark. After the license purchase you will only need to substitute .lic file with the purchased.
Regarding the issue. You need to place the .lic file to the application work dir (not to the shared lib dir as you did). The workdir location is environment-dependent. Alternatively you could place the .lic file to the Java classpath root. It is environment-dependent too, but there is a proven place: you can inject pd4ml.lic to the root of pd4ml*.jar.
