| Author |
java/sql/Savepoint Exception
|
Sai Krishna Chitta
Greenhorn
Joined: Oct 22, 2004
Posts: 12
|
|
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.
|
 |
Paul Sturrock
Bartender
Joined: Apr 14, 2004
Posts: 10336
|
|
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 ]
|
JavaRanch FAQ HowToAskQuestionsOnJavaRanch
|
 |
Sonny Gill
Ranch Hand
Joined: Feb 02, 2002
Posts: 1211
|
|
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
|
The future is here. It's just not evenly distributed yet. - William Gibson
Consultant @ Xebia. Sonny Gill Tweets
|
 |
 |
|
|
subject: java/sql/Savepoint Exception
|
|
|