com.comsol.model is not accessible in eclips

Please login with a confirmed email address before reporting spam

While I am trying to run a java file externally in eclips that I generated from comsol6.2 dekstop, but I am getting the error com.comsol.model is not accessible. I followed the instruction of the manual (i.e. add all the jar files, set the environment, set the security preference) but still getting error. I have attached the screenshot, please have a look.

Any help would be appreciable. Thanks.



1 Reply Last Post 9 feb 2024, 05:46 GMT-5
Lars Gregersen COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 5 months ago 9 feb 2024, 05:46 GMT-5

Hi Mohammed

Remove the first line (starting with package...)

Add these lines instead: import com.comsol.model.*; import com.comsol.model.util.*;

-------------------
Lars Gregersen
Comsol Denmark
Hi Mohammed Remove the first line (starting with package...) Add these lines instead: import com.comsol.model.*; import com.comsol.model.util.*;

Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.