Eclipse+Derby - Program runs outside; Classpath+Eclipse conflict?
When running the SimpleApp example from the Apache Derby packet by command
line (java SimpleApp) it works flawless, so the classpath must be set
correctly. But when running inside Eclipse the
"java.lang.ClassNotFoundException: org.apache.derby.jdbc.EmbeddedDriver"
error occurrs.
Could it be that eclipse somehow doesn't take the current classpath into
account?
(Running on Win7x64, JRE+JDK7.25, Derby 10.10.1.1,
CLASSPATH=C:\Users\User\Desktop\eclipse\workspace\db-derby-10.10.1.1-bin\lib\der
by.jar;C:\Users\User\Desktop\eclipse\workspace\db-derby-10.10.1.1-bin\lib\derbyt
ools.jar;.)
No comments:
Post a Comment