I tried connecting java with QC with help of OTAClient and com4j. It is getting connected to server and then the login was also successful. But when it comes to connecting to a particular project and domain it takes some time, works and then says "JAVA(TM) SE Has Stopped Working".
itdc.connect("Domain","project");
When I check the details it is mentioned that OTAClient.dll is the fault. Can you please give me a solution to overcome this?