You need to download GraphStream-core library and add it to your build path
The main class is Main.java. If you pass an argument, then the graph definition file will be read from that file, otherwise it will be read from stdin.
Number of nodes
List of edges (node1, node2, weight)
java -jar kruskal.jar graph-example.txt
This will read graph stored in .txt file and run the program.