Please login with a confirmed email address before reporting spam
Send a report to the moderators
Cancel
Report
Posted:
10 years ago
2011年8月4日 GMT+8 上午12:18
Hi Alex,
I have installed Comsol 4.2, generated the Java source file for the feeder_clamp model, and created the Eclipse project as described in the documentation.
When I open the compiled .class file (it can be found in the bin directory of the project) from the Comsol Desktop, the model is loaded and a graphic of a mechanical part is generated. I don't know if you have tried this, but it's an easy way of running the Java model.
However, if I follow the instructions to execute the Java model from Eclipse, and using the Comsol server, when I run the Java application a message is displayed in the server window indicating that a client is connecting, and after a while another message indicates that the client is disconnecting, but nothing more happens... I have followed all the instructions given in the documentation to configure the Eclipse project, i.e. adding the libraries to the project, and adding the two lines in the main method for connecting to the Comsol server, but it doesn't say the expected behaviour when you proceed so...
Do you have any more idea?
Best regards.
P.D.: I'm the Ana's colleague at the CSIC in Spain.
Hi Alex,
I have installed Comsol 4.2, generated the Java source file for the feeder_clamp model, and created the Eclipse project as described in the documentation.
When I open the compiled .class file (it can be found in the bin directory of the project) from the Comsol Desktop, the model is loaded and a graphic of a mechanical part is generated. I don't know if you have tried this, but it's an easy way of running the Java model.
However, if I follow the instructions to execute the Java model from Eclipse, and using the Comsol server, when I run the Java application a message is displayed in the server window indicating that a client is connecting, and after a while another message indicates that the client is disconnecting, but nothing more happens... I have followed all the instructions given in the documentation to configure the Eclipse project, i.e. adding the libraries to the project, and adding the two lines in the main method for connecting to the Comsol server, but it doesn't say the expected behaviour when you proceed so...
Do you have any more idea?
Best regards.
P.D.: I'm the Ana's colleague at the CSIC in Spain.