project->project properities->path->required libadd your oracle liband in tools->enterprise setup->add your oracle lib

解决方案 »

  1.   

    jbuilder8:
    tools->enterprise setup->database drivers->add
      

  2.   

    但是,我按照
    tools->enterprise setup->database drivers->add
    这种方法
    在tools->database pilot中,oracle的驱动程序还是红色
    即:没有安装上
      

  3.   

    在 [Enterprise Setup]中有三个标签,分别是[Corba],[Database],[sqlj].
    选择[Database],在下面添加上Oracle的驱动库(如:c:\oracle\class12.jar).
    然后重新打开JB就可以了。
      

  4.   

    最好添加三个包class12.jar、nls_charset12.jar、ocrs12.jar
    否则如果数据库用的版本是oracle9还会出问题。