Skip to main content
15-Moonstone
February 13, 2017
Question

j-link install_test

  • February 13, 2017
  • 3 replies
  • 7301 views

Hi, guys,

I am using Creo 2.0. It took me long time to run install_test j-link application, but I made it. Then I installed Creo 3.0, so I have now Creo 2 and 3 on my PC. I have installed Creo 3 with JRE and tryed to run install_test app with no success. I tryed same in Creo 2 with same result. I tryed to reinstall both Creos with and without JRE, tryed to use self installed JDK instead but with no success. I created envi. variable CLASSPATH to pfc.jar, and PATH to JDK, added jlink_java_commnad to config.pro, compiled *.java files insted of asnychtest.java and ran Creo in current (install_test) dir. I have tryed everything.

Do you have similar problems ? I have not find any answer on the interned.

Thank you for your answers

3 replies

24-Ruby III
February 13, 2017

Hi,

during installation I selected two highlighted items.

Then I installed j2sdk1.4.1_07.

My compilation batch file contains these lines:

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

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

MH

sjuraj15-MoonstoneAuthor
15-Moonstone
February 13, 2017

I tryed both, shipped JRE and JDK downloaded from java page using jlink_java_command. I have batch file but it always show me message "start of application install_test failed"

It is interesting It worked it with same configuration before for me.

I think the problem might be using different JDK or using multiple versions of Creo. I tryed JavaRA to completly remove any JRE and JDK and use CCCleaner for remove all registry of uninstalled Creo. I tryed to reinstall everyhing several times and tryed multiple configurations of CLASSPATH.

24-Ruby III
February 13, 2017

Hi,

as I wrote in previous reply, you have download and install j2sdk1.4.1_07. This version is supported in CR2.

I think you do not have to use jlink_java_command config option, if JRE item is installed with Creo.

protk.dat that I used for install_test j-link application is attached.

MH

1-Visitor
February 28, 2017

Hi sjuraj

Am also met the same problem .But I solved Using the Version (jdk 1.7.0).

Construct your batch file like this:(File attached)

sjuraj15-MoonstoneAuthor
15-Moonstone
March 14, 2017

In genereal, there is no need to use anything in j-link app only correct protk.dat file with correct classpaths (if you are using shipped JRE). If you use for developing higher JDK that your current version of project support you need to use config option jlink_java_command or environment var. for non-standard JRE. Usage of pfc.jar in classpath is needed when you use it for developing (compiling). So my problem was probably wrong path to JRE or wrong content of protk.dat file (wrong classpaths or missing text dir path).