Nuthann92
Nuthann92

Reputation: 1

How to import import org.neuroph.core.*

In the process of learning artificial intelligence concepts, I came across this project in http://neuroph.sourceforge.net/tutorials/LensesClassification/LensesClassificationUsingNeuralNetworks.html . Source code provided by website includes libraries to be importedsuch as import org.neuroph.core.NeuralNetwork; import org.neuroph.core.learning.DataSet; import org.neuroph.core.learning.DataSetRow;

when i tried to implement that code in net beans, it didn't recognize those libraries, So can some one let me know how to import third party libraries like above, I am new to java and to stack overflow, pardon me if i am wrong. Thank you.

Upvotes: 0

Views: 628

Answers (1)

Trenton Telge
Trenton Telge

Reputation: 488

You need to make sure the .jar archive for the library is added to the classpath.

Here's Netbeans' reference on the subject.

After you have added it, your import statements should work.

Upvotes: 1

Related Questions