This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Error running SQL?
 
Similar Threads
Please Help About cloudscape
why cloudscape has exceptions?
Query abt Cloudscape
j2sdkee - missing setenv.bat & Cloudscape errors
Somebody Please Help!!!! Trouble creating Cloudscape DB!!!! SOS