db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Pendleton <bpendleton.de...@gmail.com>
Subject Re: Unable to run a java file
Date Wed, 03 Aug 2011 01:14:05 GMT
> I am trying to execute a java file(attached), it compiles fine but when I try to run it
I get a ClassNotFoundException.

That's pretty much always a CLASSPATH issue.

 From the same window where you get the ClassNotFoundException,
try running org.apache.derby.tools.sysinfo, and paste the output
into an email reply so we can see it.

If sysinfo also gives you a ClassNotFoundException, then:

	$ echo $CLASSPATH

and do 'ls' on each item in the classpath to confirm that each exists.

thanks,

bryan

Mime
View raw message