Hi,
I have been working with Java for a little while. I am not
extremely skilled in it yet, but it appears to be similar to other
programming languages and I have already made a few small programs to
calculate various things.
The thing is, I want to tie these calculated values to Pro/E, so that I can update pattern spacing and other features.
However, I seem to be having problems getting my Java apps to connect
to Pro/E. I n fact, even the sample apps to do not run. The
only one I got to run properly was the "InstallTest" sample app.
When I try to load the class file for my app, I get the following error:
Application Main failed to start: Exception: ciplib:XNativeException
I am using Main as the app name, Main.class as the class file, and start and stop for the start and stop methods.
I have searched all over the Internet for something to enlighten
me. I even checked PTC's site with no luck. The API
documentation does not contain these terms either.
Any idea of why it won't load? I get this error even if I comment
out all PTC specific code, so that none of the PTC classes are being
called. It runs fine at the command prompt.
Please let me know if you need further information.
Thanks,
Jim
I have been working with Java for a little while. I am not
extremely skilled in it yet, but it appears to be similar to other
programming languages and I have already made a few small programs to
calculate various things.
The thing is, I want to tie these calculated values to Pro/E, so that I can update pattern spacing and other features.
However, I seem to be having problems getting my Java apps to connect
to Pro/E. I n fact, even the sample apps to do not run. The
only one I got to run properly was the "InstallTest" sample app.
When I try to load the class file for my app, I get the following error:
Application Main failed to start: Exception: ciplib:XNativeException

I am using Main as the app name, Main.class as the class file, and start and stop for the start and stop methods.
I have searched all over the Internet for something to enlighten
me. I even checked PTC's site with no luck. The API
documentation does not contain these terms either.
Any idea of why it won't load? I get this error even if I comment
out all PTC specific code, so that none of the PTC classes are being
called. It runs fine at the command prompt.
Please let me know if you need further information.
Thanks,
Jim