aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes adding jar files to a project Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "adding jar files to a project" Watch "adding jar files to a project" New topic
Author

adding jar files to a project

vasanthi naveen
Greenhorn

Joined: Oct 31, 2008
Posts: 10
iam working with datamining concept with mysql db.
for that i have imported javax.datamining.*,but the import cannot be resolved by the jvm.ihave included all 4 jdm jars in tomcat lib.

please help me.its urgent.

[ UD: changed subject to something more appropriate ]
[ November 10, 2008: Message edited by: Ulf Dittmer ]
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42291
    
  64
Um, how is this question related to Game Development, the subject of this forum? You mention Tomcat, so is this really about a web app?

It sounds as if you are compiling code, and the compiler is reporting an error. If so, how are you compiling the code? Did you add the libraries to the classpath during compilation?


Ping & DNS - my free Android networking tools app
vasanthi naveen
Greenhorn

Joined: Oct 31, 2008
Posts: 10
i have added the jar files in (tomcat5.0\common\lib)this folder.and added the libraries in project (web-inf\lib).and selected all the jar files in project (properties\order and export)tab.

you suggested me to add jars in classpath.could you explain it in detailed mannar.
vasanthi naveen
Greenhorn

Joined: Oct 31, 2008
Posts: 10
please reply me for the above question.its urgent.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42291
    
  64
So you're using an IDE, and the question is really about how to add jar files to the current project? In that case, let us know which IDE it is. I'll move the question over the IDE forum.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5837
    
    7

And please tell us if the problem you are running into is a compile-time problem or a run-time problem. So far I do not have enough of idea of what you are doing to offer any help.


JBoss In Action
 
 
subject: adding jar files to a project