0

Hi
am new to Java and am developing a multi agent application using Jade. I have coded 1 agent using Java and the other agent using vc++.
My problem is communication between java and vc++.
1) I need to run the vc++ program within the java program for which i am using the following code.

try
 {
         ( "C:\\Jade\\Debug\\program.exe" );
  }
 catch(Throwable t)
 {
         System.out.print(t.getMessage());

 }

The java program compiles without any error. But the .exe file is not being executed.
2) Also i have send in an integer data to the vc++ program from java. That data has to be sent every 15 min and so the corresponding output from vc++ program should change. can anybody tell me how to do this??
3) I am writing the vc++ output in a .txt file. This .txt file has to be read by another java program!!
I would really appreciate it if anybody could assist me
Tx in advance

Edited by Nick Evan: Fixed formatting

2
Contributors
2
Replies
3
Views
8 Years
Discussion Span
Last Post by BOONISRIDHAR
0

I implemented the code in the website mentioned. But it is still not working!! Is there any other solution??
Tx

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.