File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

eclipse and classpath

 
Gamb Rockwell
Greenhorn
Posts: 25
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a program that works from within eclipse(ie. when I use eclipse to run the code) but when I run it outside of eclipse it give me a class not found exception, I think it is a classpath issue does anyone know what could be the cause of that and how to solve it.

thanks
 
Steven Bell
Ranch Hand
Posts: 1071
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most likely you are using some extra library, a jar file. Eclipse has that in its build path, but when you run your program outside it can't find it. The solution is to place the library your program needs in the path of your system, or in the same directory as your program. That should work.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic