• Post Reply Bookmark Topic Watch Topic
  • New Topic

Bad version number

 
Narasimha Raju Naidu
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi 2 all,

i am getting the folloing error while runnning my jdbc program. i am sending my program and other details

Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version n
umber in .class file

Database: oracle 10g




Please reply as early as possible

Regards

Narasimha Raju
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That means that you're running the program with a JRE that is older than the one that was used for compiling it. You can either compile the code with the same JRE you're using to run it, or use a newer JRE to run it.
 
Narasimha Raju Naidu
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for your reply. now my problem is resolved

Regards,

Narasimha Raju
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!