Hi,
This is in relation to my post crimson.jar. The problem is I have downloaded the rowset.jar and placed it in my folder c:\java\lib.This folder contains the other .jar files too.I have set the classpath to point to c:\java\lib in the environment variables....When I tried running the code an error appears:
What are the correct steps in order for the rowset.jar to work correctly?package sun.jdbc.rowset does not exist
Hope for any advice on this....
By the way, I'm using JDK1.5 as my compiler, cloudscape as my dbms...
Here's the error generated from the code:
Thanks...C:\BegJavaDB\Ch11>javac -cp . rowset/CachedRowSetExample.java
rowset/CachedRowSetExample.java:7: package sun.jdbc.rowset does not exist
import sun.jdbc.rowset.*;
^
rowset/CachedRowSetExample.java:11: cannot find symbol
symbol : class CachedRowSet
location: class rowset.CachedRowSetExample
CachedRowSet cachedRs;
^
rowset/CachedRowSetExample.java:43: cannot find symbol
symbol : class CachedRowSet
location: class rowset.CachedRowSetExample
cachedRs = new CachedRowSet();
^
3 errors![]()
![]()
![]()




Reply With Quote