help with simple OTK Java Free (former: J-Link) example
- July 16, 2025
- 2 replies
- 563 views
Hey ptc community,
I wrote this simple Java program with AI but since I don't know anything about Java at all I need someone to tell me why it doesn't work.
The error message I get is:
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\ENGapps\PTC\Creo 10.0.7.0\Common Files\x86e_win64\lib\jnicipjavamtz.dll: Can't find dependent libraries
at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2437)
at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2494)
at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2694)
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2656)
at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:827)
at java.base/java.lang.System.loadLibrary(System.java:1888)
at com.ptc.cipjava.initadapt.initadapters(initadapt.java:56)
at com.ptc.pfc.pfcSession.pfcSession.<clinit>(pfcSession.java:33)
at test.main(test.java:10)
I also already ran dependent over this dll, but that didn't help:

I would also be very grateful for any information about the API documentation of OTK Java Free, because I can only find one for OTK Java.
Thank you in advance for your help!
I am using Creo Parametric Version 10.0.7.0 and I have worked with CREOSON previously, which works just fine.

