Clojure2D/clojure2d

Missing dependency prevents clojure2d.core from loading

respatialized opened this issue · 2 comments

Hi, I'm facing classpath issues when trying to load the library. I can reproduce the issue from the command line:

$ clj -Sdeps '{:deps {clojure2d {mvn/version "1.4.0"}}}' -e "(require '[clojure2d.core :as clj2d])"
> Syntax error (ClassNotFoundException) compiling new at (fastmath/random.clj:1157:1).
optimization.Uncmin_methods

I'm attempting to fix the issue by manually adding these optimization classes to the classpath, but I am having a hard time tracking them down (the US Fed website that appears to host them appears to be down). Any suggestions here?

I'll try to figure this out tomorrow.

Do you still have a problem? I can try to list all of the dependencies needed to run clojure2d.

For this particular case it's:

<dependency>
      <groupId>com.github.rwl</groupId>
      <artifactId>optimization</artifactId>
      <version>1.3</version>
      <scope>runtime</scope>
</dependency>

Needed by SSJ (https://search.maven.org/artifact/ca.umontreal.iro.simul/ssj/3.3.1/jar)