Skip to main content
4-Participant
July 16, 2025
Question

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:

JP_13471738_0-1752664707318.png


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.

2 replies

Catalina
Community Moderator
July 18, 2025

Hi @JP_13471738 

Thank you for your question. 

Your post appears well documented but has not yet received any response. I am replying to raise awareness. Hopefully, another community member will be able to help.

Also, feel free to add any additional information you think might be relevant. 

 

Best regards,

Catalina | PTC Community Moderator
4-Participant
July 30, 2025

Hey ptc community,

since my desperation is rising I would also really appreciate if someone would share any functioning OTK Java Free script for Creo Parametric Version 10.0.7.0. This way I can atleast see if it works at all.

Thank you in advance for your help!