candylady candylady - 23 days ago 6
Java Question

My IDE cant find a library that I had imported. Error: "package does not exist"

I'm trying to work with Hydra library (http://sourceforge.net/projects/hydra-mcmc/) in my NetBeans IDE, but it seems like IDE ''cant see'' the library at all. I've made a screen shot:

enter image description here

I've imported Hydra .jar file by clicking on "Libraries" and "Add a Jar". The packages are properly listed on the right (you can see it on the picture).

How to resolve this problem?

Answer

I've just downloaded the jar, and it looks like it's been packaged wrongly. As @Elliot says, the screen-shot shows the packages starting Hydra.

Maybe try importing Hydra.org.omegahat.Probability.Distributions.UnnormalizedDensity and see if that works.