GraphStream Users

Archives de la liste Aide

Re: Problem in installing graphstream

Chronologique Discussions 
  • From: Stefan Balev <stefan.balev AT>
  • To: graphstream-users AT, Happy Mittal <happy2332 AT>
  • Subject: Re: Problem in installing graphstream
  • Date: Sat, 16 Feb 2013 15:16:31 +0100


graphstream is not an application you can run, it is an API that helps you write your own graph processing applications. To get started, write a simple class, something like

import org.graphstream.graph.Graph;
import org.graphstream.graph.implementations.SingleGraph;

public class HelloGraph {
    public static void main(String[] args) {
        Graph graph = new SingleGraph("Hello");
        graph.addEdge("AB", "A", "B");

Now compile it, run it and have fun!



2013/2/16 Happy Mittal <happy2332 AT>
Hi graphstream,
  I have just downloaded graphstream from, the I unzipped it.
In your FAQ - How do I install?, you have written
"Simply download the zip or tar.bz2 packages on the Download section of this website. This file contains a binary jar package and the API documentations. Point your classpath to these classes and you're done"

But I can't really understand this. I am working on Linux.
I have added following line in .bashrc file for setting the classpath, but it doesn't seem to work.
export CLASSPATH=~/Desktop/gs-ui-1.1.2/gs-ui-1.1.2.jar:~/Desktop/gs-ui-1.1.2/gs-ui-1.1.2-javadoc.jar:~/Desktop/gs-ui-1.1.2/gs-ui-1.1.2-sources.jar:$CLASSPATH

When i run the command : java -jar gs-ui-1.1.2.jar, it gives an error : Failed to load Main-Class manifest attribute from

What should I do ?

Happy Mittal

Archives gérées par MHonArc 2.6.16.

Top of page