Skip to Main Content

Java and JavaScript in the Database

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java:4: package oracle.xdb does not exist

User_G2417Apr 18 2007 — edited Apr 26 2007
Hello,

i am new to java. my java program i am importing xmltype (Import oracle.xdb.XMLType)
when i compile my java program i am getting an error


ArcIns.java:4: package oracle.xdb does not exist
import oracle.xdb.XMLType;
^
ArcIns.java:24: cannot resolve symbol
symbol : class XMLType
location: class ArcIns
XMLType msgxml= (XMLType)orset.getObject(1);

i check my java class path

/optdev/oracle/product/10g_CPU/jdbc/lib/classes12.jar:/optdev/oracle/product/10g CPU/rdbms/jlib/xdbg.jar

Is this correct path or i need setup other path.

Please let me konw.

Thanks
prince
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 24 2007
Added on Apr 18 2007
1 comment
3,542 views