• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

java/sql/Savepoint Exception

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I Installed Oracle 9i on my meachine which also having j2sdk1.4. I included ojdbc14.jar(c:\oracle\ora92\jdbc\lib\ojdbc14.jar.) in my CLASSPATH variable. I am using oracle thin driver, using the URL "oracle river:thin:@localhost:1521:Raghu","scott","tiger". The program was compiled. But while running It is throwing an Exception called java.lang.NoClassDefFound:java/sql/Savepoint.

What could be the reason. Please suggest.
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Odd. java.sql.SavePoint is part of the JDK (it in rt.jar as of JDK1.4 I think) so its nothing to do with your driver classes. Are you using an old version of the JDK?

[ October 22, 2004: Message edited by: Paul Sturrock ]
[ October 22, 2004: Message edited by: Paul Sturrock ]
 
Ranch Hand
Posts: 1211
Mac IntelliJ IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Type java -version on the command prompt to check what version of Java you are running the program with, you may have an older JRE somewhere on your system.

HTH
 
Never trust an airline that limits their passengers to one carry on iguana. Put this tiny ad in your shoe:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic