Skip to main content
10-Marble
November 13, 2024
Solved

jLink Java application startup failed - Creo 7 + JDK 11

  • November 13, 2024
  • 1 reply
  • 2244 views

Hello,

 

We have 3 jLink (java) applications/plugins correctly running on PTC Creo 7 + Java 8. Now we're testing Creo 7 + Java 11 (because of future upgrade to Creo 9/10 with Java 11). We've compiled plugins files with a same JDK11 but one of the plugins fails running with message 'Startup of application "app name" failed.' Plugins configuration is same, they're using same otk/pfc dependency, same java version for compilation and same Creo 7 instance. 

 

I've found this article but most of points are not suitable as other two plugins are running properly. Is there a more detailed log file of creo application startup to see any detailed information what goes wrong when starting plugin? Any other idea how to debug/investigate it?

 

Thank you very much.

Best answer by JurajKosmel

Sorry for a late answer - I forgot on it 🙂 Finally I was able to run the stuff by locating all libraries in one folder (with OpenJFX libs too) and adding plugins dependencies directly via Creo management tool configuration instead of manual records in configuration file. Now it is working and all plugins are running.

1 reply

24-Ruby III
November 13, 2024

Hi,

I hope you tried starting only 1 problematic application.

If you are active customer then you can contact PTC Support.

10-Marble
November 14, 2024

Yes, I tried several ways, even starting it separately, but no success yet. Juraj

24-Ruby III
November 14, 2024

@JurajKosmel wrote:

Yes, I tried several ways, even starting it separately, but no success yet. Juraj


Hi,

my suggestions:

 

1.] cut the application code, compile it and test it

If it works then return part of the program code -AND- repeat the same procedure.

If it does not work then cut part of the program code -AND- repeat the same procedure.

 

2.] send the code to PTC Support and ask them to test it

I am not sure if PTC Support will help you because Creo 7.0 is not supported anymore.