dcsimg
Problem with CLASSPATH and Eclipse
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Tuesday, December 19, 2006 12:10 PM

Hello.
I have Eclipse-3.2.1, Windows XP and JDK 1.5 installed on my computer. I set CLASSPATH variable to folder containing 3rd party classes (i have to use Oracle jdbc drivers) and everything works well from command line. But my programs throws ClassNotFoundException when I run them from Eclipse. I set this variable from "System properties" dialog so every program should know about it afer boot.
Thanks for help.

Re: Problem with CLASSPATH and Eclipse

Posted By:   Robert_Lybarger  
Posted On:   Tuesday, December 19, 2006 07:26 PM

Eclipse is a bit more sophisticated than a simple command line, so it involves more than simply setting a 'CLASSPATH' variable ... look under Project > Properties > Java build path > Libraries. This panel lets you add jar file references to construct a 'classpath' for your application inside of Eclipse.
About | Sitemap | Contact