Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes JDBC and the fly likes Error running SQL? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Error running SQL?" Watch "Error running SQL?" New topic
Author

Error running SQL?

Major Xu
Greenhorn

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 COM.cloudscape.tools.ij 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: http://aspose.com/file-tools
 
subject: Error running SQL?