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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

HELP!!! J-LInk can't setup.

anderson_zm
10-Marble

HELP!!! J-LInk can't setup.

pro engineer 5.0  run on win7 under vmware.

 

i'm make sure j-link has been installed.

 

setup:

1. set working directory to <install path>\...\jlink\jlink_appls\install_test

2. click tools, select auxiliary applications.

3. select <install path>\...\jlink\jlink_appls\install_test\protk.dat

4. name is already in the list

5. select application item, click start, show 'setup of application "InsatllText" failed'

 

 

i'm no idea. and can't find any log file.

 

 

i'm online waiting for you

ACCEPTED SOLUTION

Accepted Solutions

 thank for all replayer.

 

test j-link application has work after use jar 

 

The test button appears in the list of file buttons after two steps:

 

use jar command create jar file from class file.

set 'javar_app_classpath' to protk.dat file.

 

 

Thank you for each response, and give me some ideas and methods.

 

thanks again.

 

I feel anxious about my English, too. thank translate

 

View solution in original post

19 REPLIES 19

Hello, is anyone there?Hello, is anyone there?

This is a user forum, not PTC technical support.

Most users are not at work and won't even see the message until Monday morning, starting in Europe.

So what you mean is that I should not ask this question

No, what he means is that you'll have to have patience.

emmm, my mistake.

 

 

thank for u explain.

Did you refer to the java path in the config.pro?

jlink_java_command $JAVA_HOME\bin\java.exe or if Java_Home is not set

jlink_java_command C:\Program Files\Java\jre1.8.0_141\bin\java.exe*

 

*Use your Java version, not mine.

I have set java environment to classpath and path environment variables. 

I did not see the documentation say to be set in config.pro.

 

 

thank for u reply!!!

 

I remember that I set up, but it did not work I was using xdebug to debug, it is certainly set

Hi,

 

I suggest you to test old Java versions mentioned in http://support.ptc.com/WCMS/files/107703/en/J-LinkPlatformsWildfire50.pdf document.


Martin Hanák

thanks, I used the pro engineer 5.0 comes with jre to test

 

 

thank for u reply

Hi,

 

what Wildfire 5.0 maintenance release do you use ? I mean Mxxx number. Maybe I will be able to run install_test tommorow.


Martin Hanák

Creo Elements Pro 5.0 M090 Win64

 

 

thank for u reply.

 

 

 

 

 thank for all replayer.

 

test j-link application has work after use jar 

 

The test button appears in the list of file buttons after two steps:

 

use jar command create jar file from class file.

set 'javar_app_classpath' to protk.dat file.

 

 

Thank you for each response, and give me some ideas and methods.

 

thanks again.

 

I feel anxious about my English, too. thank translate

 

I am glad you have got it working.

 

 

 

"Patience is a virtue"

thanks

thanks

Hi,

 

I did a short test ...

 

  • I installed WF5 M090 into E:\PTC\ProE_Wildfire5_M090 directory
  • I compiled *.java files in E:\PTC\ProE_Wildfire5_M090\jlink\jlink_appls\install_test directory using mh_compile.bat

mh_compile.bat

del *.class

set CLASSPATH=E:\PTC\ProE_Wildfire5_M090\text\java\pfc.jar;E:\PTC\ProE_Wildfire5_M090\text\java\pfcasync.jar;%CLASSPATH%

E:\PTC\j2sdk1.4.1_07_kopie\bin\javac.exe *.java

 

  • I modified E:\PTC\ProE_Wildfire5_M090\jlink\jlink_appls\install_test\protk.dat file

protk.dat

name     InstallTest
startup  java
java_app_class  StartInstallTest
java_app_start  start
java_app_stop   stop
allow_stop      true
java_app_classpath  E:\PTC\ProE_Wildfire5_M090\jlink\jlink_appls\install_test
delay_start     false
text_dir     E:\PTC\ProE_Wildfire5_M090\jlink\jlink_appls\install_test\text
end

 

  • I launched WF5 M090 (CLASSPATH=E:\PTC\ProE_Wildfire5_M090\text\java\pfc.jar ... internal ProE setting)
  • I changed working directory to E:\PTC\ProE_Wildfire5_M090\jlink\jlink_appls\install_test
  • I registered the application via Tools > Auxiliary Applications > Register
  • I selected the application and clicked Start button
  • I clicked File > -J-Link Install Test ... the application did something and returned Install Test Has Failed message because one of called methods failed

Martin Hanák

I also got `Install Test Has Failed` .

 

 

thanks

Announcements


Top Tags