Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

http://jung.sourceforge.net/

Can someone walk through the steps carefully for me? I have been trying for hours and I can't seem to get it. I'm using a Mac. And, I want to be able to use the Jung2 libraries while programming, using the Eclipse IDE.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
227 views
Welcome To Ask or Share your Answers For Others

1 Answer

@Rohan: JUNG 2.0 Framework contains both binary and source form of jars.

To use the binary jars from JUNG, you need to add them as Referenced Libraries in a project. Create a new project. Then, add required JUNG jars somewhere inside project directory. Refresh project tree. Right-click on each JUNG jar to add it to Build Path > Add to Build Path in Eclipse. By doing this, each will be registered under Referenced Libraries tree in the project.

Since a few JUNG jars have source code version, you can open the Build Path of the project and go to Libraries tab. Under this tab, it lists all JARs. Attach the JUNG source code jar version to equivalent JUNG binary jar version under Source attachment of that jar. For example: attach jung-samples-2.0.1-sources.jar to jung-samples-2.0.1.jar

Once done, go to jung-samples-2.0.1 under Referenced Libraries and open any class in a JUNG package. You will be able to see the source code view of the class.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...