Prince Java 1.7
Is there a version of the Prince wrapper jar (Prince.jar) containing the PrinceControl class that will work on Java 1.7? If so where can I download it?
Thanks!
Gregg
Does the existing wrapper not work with Java 1.7?
It looks like the classes in the jar were built with 1.8 - when trying to use the classes with 1.7 I get the error
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/princexml/PrinceControl : Unsupported major.minor version 52.0 - which indicates they were built in java 8.
i have found in the forumns a reference to prince-java-20151017.jar It appears that I dont get the error using it. (but probably miss out on any upgrades you have done since then)
Can you try this package:
prince-java-20181213.zip
That works good.
Thanks so much!
Mike, I've run into another issue after getting everything to work on windows, I was trying to install this onto a centos system. I downloaded the prince rpm and ran
rpm -ivh prince-12.3-1.centos7.x86_64.rpm
But Get Errors.
error: Failed dependencies:
liblcms2.so.2()(64bit) is needed by prince-12.3-1.centos7.x86_64
libnss3.so(NSS_3.34)(64bit) is needed by prince-12.3-1.centos7.x86_64
I also downloaded the tar.gz and did the install but also get the error when running
/home/myuser/prince/bin/prince: error while loading shared libraries: liblcms2.so.2: cannot open shared object file: No such file or directory
I was able to install the rpm when running.
yum install prince-12.3-1.centos7.x86_64.rpm