cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Jlink StartInstallTest Failure

ps5
6-Contributor
6-Contributor

Jlink StartInstallTest Failure

Hi,

we are using Creo2.0 and Jre1.8.0_191 

we have setted up the Environmental Variable in following manner

 

path : .......\jdk1.8.0_191\bin;.......\jre1.8.0_191\bin

java_home  : C:\Program Files\Java\jdk1.8.0_191

PRO_COMM_MSG :  ........\obj\pro_comm_msg.exe

 

CLASSPATH :   .....M240\text\java\pfc.jar; .......\Java\jdk1.8.0_191\bin; ........jre1.8.0_191\bin

 

 

We have created a Protk.dat file and StartInstallTest file 

in Creo Auxillary Application we have registred Protk.dat file & while Running we getting error START UP APPLICATION FAILED.  

 

Do we need to set the Environmental Variable for pfc.jar which available in creo folder

Please help to resolve this Problem....

 

 

Thanks..

1 REPLY 1
MartinHanak
24-Ruby II
(To:ps5)

Hi,

please see below mentioned information. Maybe it helps you to orient in the problem...

 

1.]

I tested StartInstallTest on 12-Jan-2017 with CR2 M190 (J-Link component installed) successfully.

I compiled java files using j2sdk1.4.1_07. See J-LinkCreoParametric2.pdf available via https://community.ptc.com/sejnu66972/attachments/sejnu66972/customization/2514/1/J-LinkCreoParametric2.pdf link

 

2.]

Today I tested StartInstallTest with CR2 M240 (installation without J-Link component).

I added following line into parametric.psf file:

ENV=CLASSPATH=E:\PTC\Creo2_M190_JLink\Creo 2.0\Common Files\M190\text\java\pfc.jar

I added following line into config.pro file:

JLINK_JAVA_COMMAND E:\PTC\Creo2_M190_JLink\Creo 2.0\Common Files\M190\x86e_win64\obj\JRE\bin\java.exe

java -version ... 1.6.0_13

StartInstallTest application works well using the above settings.

 

3.]

I added following line into config.pro file:

JLINK_JAVA_COMMAND C:\Program Files (x86)\Java\jre1.8.0_191\bin\java.exe

StartInstallTest fails during startup. I think Java 1.8 is not supported with CR2 ... ask PTC Support to get current information.

 


Martin Hanák
Top Tags