Reputation: 123
I wrote two independent RCP application, let's call them A and B. Is it possible to call and run B from A without setting any dipendences?
Upvotes: 3
Views: 204
Reputation: 192
I have not tried this..But i assume it would be a normal Java process invoking. If B is an exe.
Runtime runTime = Runtime.getRuntime();
Process process = runTime.exec("B");
Upvotes: 2
Reputation: 1676
If you have the executable for B, you can use Runtime.getRuntime().exec() to execute B from A.
Upvotes: 0