Menu

#23 Creating moeaframework project in Netbeans

2.1
closed
nobody
None
5
2014-09-25
2014-08-17
olumide
No

I am trying to create a Netbeans project for the Example1 application. I have added paths to the dist and lib folders but, as the attached image shows, I'm getting errors that packages org.moeaframework, org.moeaframework.core.NondominatedPopulation and org.moeaframework.core.Solution do not exist.

The manual does provides instructions on how to compile the entire framework in Netbeans but no mention is made about how to create projects. Am I supposed to first create an moeaframework project in one project and then import that project into the Eaxmaple1 project?

1 Attachments

Discussion

  • Anonymous

    Anonymous - 2014-08-18

    You'll need to select the individual JAR files and not the folder containing them. First, remove the dist/ and lib/ folders in the project. Then, right-click Libraries, Add JAR/Folder, navigate to the lib/ folder, select all of the JAR files, and click Open. The end result should look like the attached screenshot.

     
  • olumide

    olumide - 2014-08-18

    It worked. Thanks.

     
  • D. Hadka

    D. Hadka - 2014-09-25
    • status: open --> closed
     
  • D. Hadka

    D. Hadka - 2014-09-25

    Closing ticket. Version 2.2 will include better instructions for setting up Netbeans projects.