Today, I’m going to show you how to use Creo jlink in Ecilipse. First of all, you have to install Ecilipse enterprise edition (called Eclipse-EE and you can download it from here.)
After install it, creating a new java project.
then create Creo configuration file in project folder.
First file is config.pro. it must contain following statement.
jlink_java_command C:\Program Files\Java\jdk1.8.0_121\bin\java.exe -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
Please take consider that jdk folder can be different in your computer. please check version of the java from your computer.
other file is protk.dat.
you can see following picture files of folder.
Now I’m supposing you know all details configuration of creo jlink. Just I want to give you a couple of tricks.
for compiling the project, as you already know that run and debug button don’t work. we have to built project. You can see clearly where the button locates in eclipse.
then we can see class files in bin folder.
before click remote java application. Creo must be opened.
with clicking debug button. Eclipse is listening what you are doing in creo until catch your breakpoint.
I hope that it is useful for all of you.