Forum How do I...?

Java wrapper license file

maikef
Hi,

How can I pass a different file path to the prince license file via Prince Java constructor? It doesnt seem to be supported.
mikeday
I think you will need to use the setOptions() method to pass the --license-file=PATH command-line argument for now.
maikef
I saw in the forum there is also a license-key option...when I open the license.dat file which property is the key?
mikeday
That is the <signature> field; you can delete the text content from it in the file and supply it via the option instead.