2

I am just getting started with GraphStream and using NetBeans as an IDE in my laptop (Yosemite 10.10). I already downloaded and included .jar library file into my project:

Libraries: gs-algo-1.3.zip; gs-core-1.3.zip; gs-ui-1.3.zip; JDK 1.7 (Default)

My problem is I still can’t import graphstream in my class. This is what I wrote:

import org.graphstream.graph.*;

but I’m still getting the error message

Package import org.graphstream.graph.* doesn’t exist

Is there any way to import GraphStream in my NetBeans? Any help would be appreciated. Thank you.

Sebastian Simon
  • 18,263
  • 7
  • 55
  • 75
Sonic Master
  • 1,238
  • 2
  • 22
  • 36

1 Answers1

0

You have to extract those 3 gs-*.zip files that you downloaded from the website. Then, inside the extracted folders you will find gs-*.jar files. These are the actual binaries that Netbeans needs as dependencies.

Yoann
  • 556
  • 3
  • 11