enterprise setup中的jdbc driver有没有配置?

解决方案 »

  1.   

    try:
    Project --> Default Project Properties--> Required Libraries --> Add --> new --> 指定classes12.zip
      

  2.   

    谢谢各位的指点,不过我还是没有成功。我在Project,Library,Enterprise中都设置了classes12.zip可是为什么还不对阿!!!痛苦!
    to hnzgq:不知道你说的dbpilotW.exe在哪里,是否一定要运行才可以?
    我用的是企业版。
      

  3.   

    dbpilotW.exe即是Database Pilot的执行程序(JB->tools->Database Pilot执行的就是这个程序),可以在JB环境外执行,位于JB安装目录下的bin目录下,和JB的执行程序同一个目录。不过还是需要在JB中配置JDBC库。
      首先 JB->tools->COnfigure Libraries ->new 配置你的JDBC库(注意路径正确,我的是 Oracl817:c:\oracle\ora81\jdbc\lib\class1_2.zip)
      然后JB->tools->Enterprise Setup->Database Drivers->add->刚才New的名字(我的:Oracl817),显示Oracle.config
      重新启动JB,初始化CLASSPATH即可。
      你的JB中该项变灰,我没遇到过,不过,只要存在dbpilotW.exe,应该可以运行。
      

  4.   

    在JBuilder的安装目录\bin\下找到dbpilot.config和JBuilder.config,然后在里面用addpath命令加上class12.zip所在路径(比如:addpath ../lib/classes12.zip),重新起动JBuilder即可。
      

  5.   

    Find dbpilot.config and JBuilder.config in JBuilder_installed_path\bin\(e.g: D:\JBuilder5\bin\), and then use the "addpath" command to add the path of class12.zip to both of them.(e.g: addpath ../lib/classes12.zip)
      

  6.   

    it's ok now, thanks everybody.