Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X
Hello,
I am starting a J-Link app to use with Creo 3.0. I can connect to Creo using the AsyncConnection_Connect. I am able to get the session and can use UIShowMessageDialog successfully. When I try to use UIDisplayMessage, I get a XToolkitNotFound exception. Here is the code that I am using.
Executors.newSingleThreadExecutor().execute(() -> { try { pfcAsyncConnection.AsyncConnection_Connect(null, null, null, 1000); asyncConnection = pfcAsyncConnection.AsyncConnection_GetActiveConnection(); session = asyncConnection.GetSession(); session.UIDisplayMessage("creobot.txt", "CONNECT Success", null); } catch (com.ptc.cipjava.jxthrowable jxt) { // Some irrelevant stuff in here... } });
The text file "creobot.txt" exists in a subdirectory of the jar file at \text\usascii\creobot.txt. That file looks like this:
CONNECT#Success Connected to CreBot! # #
Any ideas?
Solved! Go to Solution.
Apparently Protoolkit wasn't installed.
Fixed now.