Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Tomcat and the fly likes startup.bat and shutdown.bat not working. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "startup.bat and shutdown.bat not working." Watch "startup.bat and shutdown.bat not working." New topic

startup.bat and shutdown.bat not working.

mithun gooty
Ranch Hand

Joined: Mar 14, 2006
Posts: 33
Recently i downloaded tamcat-6.0, when i run startup.bat and shutdown.bat scripts some exceptions are thrown. Following is the stacktrace when i run
shutdown.bat script, i dont see any stacktrace when i run startup.bat.
Please help.

Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/catalina/startup/Bootstrap (Unsupported major.minor version9.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(
at Method)
at java.lang.ClassLoader.loadClass(
at sun.misc.Launcher$AppClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
at java.lang.ClassLoader.loadClassInternal(

Thank you.
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

It looks like you're using an older JVM to run Tomcat.
Make sure you look at the requirements posted on the Tomcat site for the version you're using.

If you have the correct JVM on your machine, you'll need to make sure that Tomcat is using it.

How have you intalled Tomcat (the .exe version or the .zip version)?

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 15081

mithun gm, please check your private messages. You can see them by clicking "My Profile" at the top right of the page.

For Tomcat 6.0, you need Java 5 or newer. Which version of Java are you using?
[ August 07, 2007: Message edited by: Jesper Young ]

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
I agree. Here's the link:
subject: startup.bat and shutdown.bat not working.
It's not a secret anymore!