Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

how to include JAR file in proe

Pradeep R H

New member
Hi all,
I have created a synchronous jlink application, from which i am including a menu item and by invoking it i am accessing some model parameters.
now i want to know that how can i include my jar file in proe (trying some thing which is similar to deploying my application using jar file).
I am using netbeans ide and through that it is working.....please suggest me regarding this
 
Hi, its very easy but tricky. You have to point the jar file from your protk.dat.


Here is an example


name JBOM_utils
startup java
java_app_class BOM_menus.BOMMenus
java_app_classpath C:\jlink\BOMutils\JBOM_utils.jar
java_app_start start
java_app_stop stop
allow_stop true
delay_start false
text_dir C:\jlink\BOMutils\text
end


Important, you have to point the full path of your main java class ex: java_app_class BOM_menus.BOMMenus
 
HI diego,

thank u for u r reply i tried it and its working for me. I followed these steps (inside proe tools-->auxiliary application-->register-->included the protk.dat file in it--> start). All though its working fine, am i doing correct?

one more thing can we run the application through jar file only ?
because we have an option as tools-->program-->jlink-->add jar file -->add application which include application name,class name,start and stop method name. If so please suggest me.

And what all we require to deploy an application and how?
 
Dear Mr. Pradeep


Can you pl. send your email and contact details


My contacts details as below


Best Regards
Kumar CM
Director-Technical
Ph: 91-80-2364 5882/83, 2364 4229
Cell: 9343003235
www.cessnatech.com
 

Sponsor

Back
Top