| Author |
How to configure oracle xe thin driver in xp
|
sudhan reddy
Greenhorn
Joined: Apr 07, 2007
Posts: 7
|
|
hi friends i am writing progarm like this import java.sql.*; public class Sone{ public static void main(String arg[]){ try{ Class.forName("oracle.jdbc.driver.OracleDriver"); Connection con=DriverManager.getConnection("jdbc racle:thin:@localhost:1521:xe","scott","tiger"); System.out.println("hdi"); } catch(Exception e){ System.out.println("exce"+e); } } } i am using oraclexe .i am getting class not found exception in windows xp.plsese tell me how to configure driver.
|
 |
Herman Schelti
Ranch Hand
Joined: Jul 17, 2006
Posts: 387
|
|
hi sudhan, your developer's tool probably let's you specify what libraries you need at runtime. I use Netbeans, and your program ran fine after I added C:\oraclexe\app\oracle\product\10.2.0\server\jdbc\lib\ojdbc14.jar Herman
|
 |
 |
|
|
subject: How to configure oracle xe thin driver in xp
|
|
|