jar - How do you use a Java Library? -


I am using an open source Java library to try to see the nodes and edges in the graph, but I completely I'm lost.

I have a bunch of jar files in a folder, by clicking on some jar files, java swing windows pop with the graph that displays. Clicking on other jar files does not get anything.

If I come to know whether I will touch jar files with other people, or will not it work?

And if I ever use these files, this means that I must include them if I move my Java project to another computer?

Have you included those libraries in your classpath?

If you are using Eclipse, then you

Project -> Properties -> Java Build Path -> Ads.

The jar file should be inserted inside a directory in the workspace (for example / lib /)

If you have to take your project to another computer,

  1. Before doing anything, export your project jar file, for example).
  2. Save it to your preferred drive (CD / USB drive / diskette / tape)
  3. On the "Other" computer, you can import this project into your workspace

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -