Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Bad version number

 
subodh gupta
Ranch Hand
Posts: 203
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,

I am getting below error



as per my knowledge this error comes when you use different jdk but i am using same jdk in both the places even them i am getting this error.
 
Freddy Wong
Ranch Hand
Posts: 959
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Normally that's because you compiled your code with the higher JVM and you ran it using the lower JVM.
 
subodh gupta
Ranch Hand
Posts: 203
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i know that, but i have already checked i am using the same jdk at both places (i.e. eclipse and JAVA_HOME (used by tomcat))
[ January 31, 2008: Message edited by: subodh gupta ]
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, that's what causes that so you'll need to check again.
Use the Tomcat Manager's "Server Status" page to see exactly what version of Java it's using.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic