• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

getting started

 
Vladimir Kositsky
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
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
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Venu,
thank for reply!
Could you give me more details about dsn?
Should i use MS Access?
Vladimir
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic