1

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?

candylady
  • 57
  • 1
  • 9
  • 2
    It sure looks like you imported the files from a parent folder (I notice your package name in the screenshot starts `"Hydra "`). – Elliott Frisch Feb 06 '16 at 16:44

1 Answers1

2

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.

whistling_marmot
  • 3,561
  • 3
  • 25
  • 39
  • Yes, seems like this `jar` is not a `jar`, it should be a `zip` or `tar.gz`. It has not only the classes, but also doc, change-log, and some pdf..... change it to a `zip` and unzip it. And package it as a `jar`. – WesternGun Nov 16 '16 at 08:41