×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

pro/e 2001 and java problems

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.
 

RE: pro/e 2001 and java problems

I have extracted this from my own notes, references to paths are obviously for my own environment, yours will be different.

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 can use JDK1.3.1 now in pro/engineer.

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

(OP)
Thanks for the help guys. It's working again!!

RE: pro/e 2001 and java problems

I am unable to find jparam.jar which is mentioned by BryanM (Visitor) in the line:

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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources