• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

creating long classpath?

 
hasan khan
Ranch Hand
Posts: 223
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want to compile my java code.
this java code require 18 jar files to compile which are placed in 2 different directories.

please tell me how to compile the code to add all the jar files in the classpath.

 
Tim Holloway
Saloon Keeper
Pie
Posts: 18100
51
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think this is what you wanted:


A little more complex than some, perhaps. I use it on a project that pulls in all the JDO jars (wildcard in directory) plus selected explicitly-named jars. The other class path definition being pulled in (the one named "classpath") mostly references stuff that's already in a prototype web app that will be copied/merged to build the working web app.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic