After upgrading to Java 8, Java API stopped working
1. If I put the %CA_SCM_HOME% directory in the beginning of the path, the Harvest JRE is used, and that is not what is intended.
2. If I put the %JAVA_HOME% directory in the beginning of the path, calling a JAR using Harvest API returns this error:
java -Djava.library.path="C:\Program Files\CA\SCM" -jar "<path>file.jar" <params>
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Program Files\CA\SCM\JHSDK64.dll: Can't find dependent libraries.
Can't find dependent libraries
Update to Java 8
Case could be resolved by either adding pec libraries(C:\Program Files (x86)\CA\SharedComponents\PEC\bin) to the java library path and check or to reinstall harvest client