File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes Error running SQL? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Error running SQL?" Watch "Error running SQL?" New topic

Error running SQL?

Major Xu

Joined: Aug 02, 2002
Posts: 1
I tried to run the following (this is from an example posted on Sun Java web site). The SQL statement simply creates and populates a few table.
java -classpath %J2EE_HOME%\lib\cloudscape\tools.jar;%J2EE_HOME%\lib\cloudscape\cloudscape.jar;%CPATH%;%J2EE_HOME%\lib\cloudscape\RmiJdbc.jar;%J2EE_HOME%\lib\cloudscape\license.jar RMS.sql
It gives me this error,
Exception in thread "main" java.lang.NoClassDefFoundError: COM/cloudscape/tools/ij
Should I install Cloudscape database (jar file?)to make it work? Doesn't it come standard with J2EE SDK? I do have j2sdkee1.3.1 installed,
although I don't see this specific class file.
Any suggestions?
I agree. Here's the link:
subject: Error running SQL?
It's not a secret anymore!