User's guide > Running J-Link Applications in Asynchronous Mode > Setting up an Asynchronous J-Link Application
Setting up an Asynchronous J-Link Application
For your asynchronous application to communicate with Creo+, you must set the environment variable PRO_COMM_MSG_EXE to the full path of the executable pro_comm_msg.
On Windows systems, set PRO_COMM_MSG_EXE in the Environment section of the System window that you access from the Control Panel.
To support the asynchronous mode, use the jar file pfcasync.jar in your CLASSPATH. This file is available at <creo_loadpoint>\<datecode>\Common Files\text\java. This file contains all required classes for running with asynchronous J-Link.
* 
Asynchronous applications are incompatible with the classes in the synchronous .jar files. You must build and run your application classes specifically to run in asynchronous mode.
You must add the asynchronous library, pfcasyncmt, to your environment that launches the J-Link application. This library is stored in <creo_loadpoint>\<datecode>\Common Files\<machine type>\<lib>.
* 
The library has prefix and extension specifiers for a dynamically loaded library for the platform being used.
System
Library
Path
i486_nt, x86e_win64
pfcasyncmt.dll
set PATH=<creo_loadpoint>\<datecode>\Common Files\<machine Type>\lib;%PATH%
Asynchronous J-Link applications must load the library prior to calls made to the asynchronous methods. This can be accomplished by adding the following line to your application.
System.loadLibrary (“pfcasyncmt”)
Was this helpful?