Csharp App1 have implemented named pipes communication. It requires several parameters to start. I have functional pascal App2 class which connects with App1 with following method:
//declaration of client event
myClient: TClient;
//connects to App1
myClient:= TClient.Create(self,"App1path","user|pass|url");
//runs application which had been connected before
myClient.Run("App1Param");
Do you know any way to connect like this with Java?