Windchill Development: Required JAR hierarchy for IntelliJ IDEA & running Java code as a persistent
Version: Windchill 12.1
Use Case: Developing custom Windchill Java services to listen lifecycle state changes (RELEASED) and execute background logic; need guidance on required JAR dependencies and proper service architecture.
Description:
Hello everyone,
I’m trying to develop on PTC Windchill using Javadoc-based APIs, but I’m facing some difficulties and would really appreciate guidance from experienced Windchill developers.
1) Required JARs for IntelliJ IDEA
I’m using IntelliJ IDEA for development, but I’m not sure which JAR files I actually need to add to my project.
When I try to add all Windchill JARs, I get dependency conflicts.
When I fix one library error, another one appears.
I believe the real issue is that I don’t know the correct JAR hierarchy / minimal required set for Windchill development.
My background is .NET Core, not Java, so I don’t have strong knowledge about Java classpaths, dependency resolution, or how Windchill structures its libraries. Because of this, I’m currently trying to load everything at once, which is obviously not the right approach.
👉 Is there a recommended list of required JARs, or a best practice for configuring IntelliJ IDEA for Windchill development?
2) Running Java code as a persistent service in Windchill
I also need advice on how to run custom Java code as a service inside Windchill.
My goal:
Listen to lifecycle state changes
Catch parts when their state becomes RELEASED
Execute logic automatically and continuously
Concerns:
If I run a class directly from Windchill Shell, it seems like it will be a one-shot execution.
I assume it will not stay alive in the background as a persistent process.
👉 What is the correct Windchill approach for this?
Event listeners?
Services?
Lifecycle hooks?
Queue / Scheduler?
Any examples, documentation links, or architectural guidance would be extremely helpful.
Thanks in advance for your support 🙏
Best regards

