Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Oracle-JDBC ArrayIndexOutOfBoundsException: -1

 
Allou Abdelhafid
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

For special needs, I use the unzipped jar format ojdbc6.jar.

The code source of my connection to the database oracle is :


When i launch the program, i have this exception :



I use

ojdbc6.jar

JRE 1.6.0_21
 
Martin Vajsar
Sheriff
Posts: 3752
62
Chrome Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch!

Do you get the same error with standard (not unzipped) ojdbc6.jar? Do you have classpath set properly for the unpacked jar? (I believe you need to include all subdirectories of the unpacked jar in your classpath.)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic