Thanks, I will try that!
Main Topics
Browse All TopicsI am new to learning Java servlets. I received this error message after downloading Tomcat 5.5 and Java jre1.5.
The error message indicates that a bad version number was created in the .class file. The .class file was created after compling a java file that I created from a new book I read. It would seem that I have a old version of java, meaning jre1.5, that is no longer supported. There are newer version of the jre, but I used the one the book instructed, disregarding any possible compatibility issues. From my understanding, the newer version of the jre is 6.0, so 5.0 isn't really that old, like say a jre 4.0. The java file doesn't specify what version of java is to be used.
Any ideas as to what might be causing this problem?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: cmalakarPosted on 2007-12-25 at 19:36:08ID: 20528283
This error will occur, when the class is compiled in a newer version of java..
and trying to run in older version of java...
Check the JAVA_HOME exported before starting the tomcat server....