This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Adding external JARs

 
Paras Ahuja
Ranch Hand
Posts: 62
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,
I know how to add external JAR files in Eclipse. But what if i want to run the program using cmd?
How should i add external JAR files (in my case, Apache POI JAR files) so that JVM detects it and does not show error.
Please help...
Thanks in advance..
 
Henry Wong
author
Marshal
Pie
Posts: 20836
75
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Paras Ahuja wrote:Hi everyone,
I know how to add external JAR files in Eclipse. But what if i want to run the program using cmd?
How should i add external JAR files (in my case, Apache POI JAR files) so that JVM detects it and does not show error.
Please help...
Thanks in advance..


Jar files needed by the JVM (and even by the compiler) should be specified as part of the classpath.

Henry
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic