File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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?
 
Similar Threads
j2sdkee - missing setenv.bat & Cloudscape errors
why cloudscape has exceptions?
Somebody Please Help!!!! Trouble creating Cloudscape DB!!!! SOS
Please Help About cloudscape
Query abt Cloudscape