• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to include jar files in classpath (eclipse +Quartz Scheduler)

 
qadeer alvi
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Can any body tell me how i can add jar files in class path. I am using eclipse with spring frame work and now i want to add Quartz scheduler jar file. I will be great appreciat.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34669
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Qadeer,
Welcome to JavaRanch!

Eclipse has a number of classpaths. There is the project classpath used to compile a project. There's also the runtime classpath for a standalone Java program and another runtime classpath if you are using an application server plugin. Do you know which classpath you are asking about.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34669
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also, note that we have a forum about IDEs - like Eclipse. I 'll move your question there so it gets more attention from people who know Eclipse.
 
Campbell Ritchie
Sheriff
Pie
Posts: 49379
62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can I repeat the welcome?

If I remember correctly:
  • You should have a left pane in the Java perspective with the name of your project and all the classes in.
  • Right-click the name of the project, then -> properties
  • Click build paths
  • Click the libraries tag
  • Click add external jars
  • Browse to the location of the requisite jar
  • Then I think you just click all the "OK" boxes until you get back to the editor.
  • If you need to add those jars to the finished product, I had the same problem back in the Summer, see this thread.

    I hope that is of use to you.
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic