This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes getting started Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "getting started " Watch "getting started " New topic

getting started

Vladimir Kositsky
Ranch Hand

Joined: Nov 03, 2000
Posts: 116
I am trying to make initial set up for my system(Windows98,SQL 7, JDK 1.2.2)to run sample JDBC programs.
I need advise how set class path( i've got ClassNotFoundException) and i suggest i have some problems with JDBC-ODBC bridge, 'couse i've got SQLException as well
How can i make sure that this driver is installed? I was looking for it in Control Panel -> ODBC, it does not appear there.
Thanks in advance
venu patlori

Joined: Jan 27, 2001
Posts: 12
hi! Vladimir
go the windows autoexec.bat file ,open the file and set the classpath and path in this way.check out for the jdk version you have.
set path=c:\jdk1.3\bin;.;c:\weblogic\bin;c:\windows\command;%path%
set classpath=c:\jdk1.3\lib\tools.jar;.;c:\weblogic\lib\weblogicaux.jar;c:\weblogic\lib\weblogicbeans.jar;%classpath%
you must create a dsn in odbc for the particular database you use. and use the same in you java code along with the driver.
Vladimir Kositsky
Ranch Hand

Joined: Nov 03, 2000
Posts: 116
Hi Venu,
thank for reply!
Could you give me more details about dsn?
Should i use MS Access?
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: getting started
It's not a secret anymore!