pro/e 2001 and java problems
pro/e 2001 and java problems
(OP)
Are there any detailed instructions on how to correctly set up jdk with pro/e 2001. In 2000i2 I managed to write some code that added menu items to the Applications menu on the pro/e interface and all was well. Since upgrading to 2001 pro/e loads then locks up, the only way to fix it seems to be to open the config.pro file and delete the protk.dat location line. I've tried countless combinations of CLASSPATH and path variations but to no avail.
I'm using jdk1.1.5 as this worked fine on 2000i2, does any one know if it works on 2001? Any suggestions at all would be appreciated.
I'm using jdk1.1.5 as this worked fine on 2000i2, does any one know if it works on 2001? Any suggestions at all would be appreciated.





RE: pro/e 2001 and java problems
Jlink Runtime Requirements
1) Path
The path variable must include C:\jdk1.1.8\bin or the equivalent.
2) Classpath - Set in proe.bat
set CLASSPATH=%CLASSPATH%;d:\ptc\proe\text\java\cipjava.jar;d:\ptc\proe\text\java\pfc.jar;K:\PTC\toolkitapps\jparams\jparam.jar;K:\PTC\toolkitapps\jparams\swingall.jar
3) PRO_JAVA_COMMAND – set in Proe.bat
for jdk environment:-
set
PRO_JAVA_COMMAND=C:\jdk1.1.8\bin\java com.ptc.pfc.Implementation.Starter
or for run time environment:-
set
PRO_JAVA_COMMAND=C:\JavaSoft\JRE\1.1\bin\jre -cp %CLASSPATH% com.ptc.pfc.Implementation.Starter
Note to test the environment open a DOS window and set the CLASSPATH variable then run the command as specified by the PRO_JAVA_COMMAND setting. This should result in the help message being displayed by the ‘Starter’ function giving the correct syntax. Any other error means that the environment is not correctly configured.
Good Luck!
RE: pro/e 2001 and java problems
You must set the path and classpath as BryanM said.
It is easy to set up jdk. You must read the User Guide of J-Link first ,and there are many important information in it.
RE: pro/e 2001 and java problems
RE: pro/e 2001 and java problems
2) Classpath - Set in proe.bat
set CLASSPATH=%CLASSPATH%;d:\ptc\proe\text\java\cipjava.jar;d:\ptc\proe\text\java\pfc.jar;K:\PTC\toolkitapps\jparams\jparam.jar;K:\PTC\toolkitapps\jparams\swingall.jar
Please a little more help is required.
N P Singh