ryanrudes / forceatlas

Gephi ForceAtlas2 with networkx compatibility and support for thread-based parallelism
GNU General Public License v3.0
3 stars 0 forks source link

kco.forceatlas2.Main #1

Closed l-pa closed 3 months ago

l-pa commented 4 months ago

I had this error on Windows (openjdk 17.0.5 2022-10-18)

Error: Error: Could not find or load main class kco.forceatlas2.Main
Caused by: java.lang.ClassNotFoundException: kco.forceatlas2.Main

Changing colon to semicolon between jar files in classpath fixed this.


classpath = (
    pkg_resources.resource_filename("forceatlas", "ext/forceatlas2.jar") +
    ";" + # Changing this
    pkg_resources.resource_filename("forceatlas", "ext/gephi-toolkit-0.9.2-all.jar")
)
ryanrudes commented 3 months ago

2