How to use choco in Eclipse?

63 views
Skip to first unread message

Joshua

unread,
Feb 11, 2022, 5:32:01 AM2/11/22
to choco-solver
 1. In Eclipse (I am using 2021-12, v 4.22.0) , create a new project (e.g. CS4626) Select the project (CS4626), right-click, Build Path / Configure Build Path / Libraries / Add External Jars ... browse to your choco folder and select it select choco-solver4.10.8.jar-with-dependencies, then OK 
2. In PackageExplorer/CS4626/Referenced Libraries, right-click the jar file / Properties /Java Source Attachment / External Location, browse to choco folder, select choco-solver...sources.jar, OK 
3. In PackageExplorer/CS4626/Referenced Libraries, right-click the jar file / Properties / Javadoc Location / Javadoc URL / javadoc in archive, browse to the javadoc jarfile, and click OK 
4. In PackageExplorer/CS4626/src, create a new class, and start coding   

These are steps, but
Error occurred during initialization of boot layer
java.lang.module.FindException: Module org.jgrapht.core not found, required by org.chocosolver.solver

So what should I do
Reply all
Reply to author
Forward
0 new messages