Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

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 Feb 9, 2024, 5:46 a.m. EST
Lars Gregersen COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 9 months ago Feb 9, 2024, 5:46 a.m. EST

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.*;