×
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

Setting JLink Environment

Setting JLink Environment

Setting JLink Environment

(OP)
I'm trying to get started with JLink and I'm struggling with the initial environment.

Here's my classpath variable:

.;c:\ptc\proe\text\java\pfc.jar;c:\ptc\proe\text\java\cipjava.jar;C:\j2sdk1.4.2_08\lib\classes.zip;C:\ptc\proe\jlink\jlink_appls\install_test\swingall.jar

But when I try and compile the files I get a message saying that the cipjava and pfc classes cannot be found.

Any ideas?

RE: Setting JLink Environment

Whether your application is sync or async. if it is Async then you need to add "c:\ptc\proe\text\java\pfcasync.jar" in your classpath and remove the "c:\ptc\proe\text\java\pfc.jar;c:\ptc\proe\text\java\cipjava.jar;" from wildfire onwards these entries are obselete.
Add "c:\ptc\proe\<machine_type>\lib" in your path and "c:\ptc\proe\<machine_type>\obj\pro_comm_msg.exe" for "pro_comm_msg_exe" env. variable.
For sync application you just need to java_home which should point to "java.exe" in your JRE or JDK. and "c:\ptc\proe\text\java\pfc.jar" add in your path.
Dont add both "c:\ptc\proe\text\java\pfcasync.jar" & "c:\ptc\proe\text\java\pfc.jar".
Nikhil Gothankar
ng@hitechesoft.com

RE: Setting JLink Environment

(OP)
When I restarted my machine I found that the java classes compiled.

I then found that, because I'm using proe 2001 I need java 1.2 so I now have to figure out how to find and install java 1.2 and if using this older version will have an impact on other software.

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