3

I'm in an introductory CS class and Dr.Java has really limited functionality compared to Eclipse. How can I add the ACM.jar file for use in Eclipse?

Robin Green
  • 32,079
  • 16
  • 104
  • 187
ahtmatrix
  • 539
  • 1
  • 7
  • 19

2 Answers2

2

Look at the following video tutorial, which is about ACM. At the first few minutes, it talks about adding it to eclipse. http://www.youtube.com/watch?v=PoyGznP8Ehk

Or else

Import Libraries in Eclipse?

Community
  • 1
  • 1
PeakGen
  • 21,894
  • 86
  • 261
  • 463
0

Copy it to the project directory. Right click on the jar - select build path, and click add to build path.

You can now import classes from the jar in your classes.

Arcymag
  • 1,037
  • 1
  • 8
  • 18
  • do I have to do that for every project I make? – ahtmatrix Oct 04 '12 at 19:51
  • @abacusasian The way I mentioned, yes. You can also add libraries to all projects by going to windows -> preferences -> Java -> Build Path. User Libraries is what you want. Here's the other SO question: http://stackoverflow.com/questions/4911554/how-to-tell-eclipse-to-include-standard-jar-library-for-all-projects – Arcymag Oct 04 '12 at 19:55