▆▆▆◣jdbc for oracle驱动程序能打包进jar文件吗?急!
我在jbuilder9下做的一个oracle数据库应用程序,直接run没问题,但打包成jar,然后脱离jbuilder9环境运行jar文件,却提示错误,如下:
See com.borland.dx.dataset.DataSetException error code: BASE+83
com.borland.dx.dataset.DataSetException: The driver: oracle.jdbc.driver.OracleDriver could not be loaded. This could be a problem with the driver itself, or that the driver is not found on the classpath.
at com.borland.dx.dataset.DataSetException.a(Unknown Source)
at com.borland.dx.dataset.DataSetException.driverNotLoadedAtRuntime(Unknown Source)
at com.borland.dx.sql.dataset.Database.addDriver(Unknown Source)
at com.borland.dx.sql.dataset.Database.addDrivers(Unknown Source)
at com.borland.dx.sql.dataset.Database.openConnection(Unknown Source)
at com.borland.dx.sql.dataset.Database.createPreparedStatement(Unknown Source)
似乎jdbc驱动程序没有打包进这个jar文件,各位朋友有什么办法吗?请教~