Skip to main content
1-Visitor
April 2, 2018
Question

Startup of application ... failed

  • April 2, 2018
  • 1 reply
  • 2834 views

Hello 

 

I am getting this error with Creo Parametric 3.0 and the install_test demo application in j-link.

I have tried many suggestions but none worked.

I feel that the JLink User Guide is not very clear on some aspects and I need some help on solving this error.

 

Any suggestion is welcome.

Thank you

 

Regards

 

1 reply

24-Ruby III
April 3, 2018

Hi,

 

with Creo 4.0 I have directory containing following items:

dir.png

 

config.pro

file_open_default_folder working_directory
regen_failure_handling resolve_mode

 

kompilace_1.8.bat

@echo off

set CLASSPATH=E:\PTC\Creo4_M030\CREO4~1.0\M030\COMMON~1\text\java\otk.jar;%CLASSPATH%
echo CLASSPATH=%CLASSPATH%

del *.class
del *.jar

del trail.txt.*

"C:\Program Files\Java\jdk1.8.0_161\bin\javac.exe" *.java

"C:\Program Files\Java\jdk1.8.0_161\bin\jar.exe" cvf mh_installtest.jar *.class

pause

 

Creo4 M030.bat

@echo off

set PRO_JAVA_COMMAND=C:\PROGRA~1\Java\jre1.8.0_161\bin\java.exe

set CLASSPATH=.;E:\PTC\Creo4_M030\CREO4~1.0\M030\COMMON~1\text\java\otk.jar;%CLASSPATH%
set CLASSPATH=D:\users\mh\creo4_parametric\PTC_JLink\install_test\mh_installtest.jar;%CLASSPATH%

set PRO_LANG=english

"E:\PTC\Creo4_M030\Creo 4.0\M030\Parametric\bin\parametric.exe" "E:\PTC\Creo4_M030\Creo 4.0\M030\Parametric\bin\parametric.psf" %*

 

vjoer1-VisitorAuthor
1-Visitor
April 14, 2018

Thank you Martin.

 

Regards