Remove JMX warning message since java5 is required
authorfunkman <funkman@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 20 Jun 2006 11:12:30 +0000 (11:12 +0000)
committerfunkman <funkman@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 20 Jun 2006 11:12:30 +0000 (11:12 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@415610 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/startup/Bootstrap.java

index fa7f817..09f658b 100644 (file)
@@ -62,13 +62,6 @@ public final class Bootstrap {
     // ------------------------------------------------------- Static Variables
 
 
-    private static final String JMX_ERROR_MESSAGE =
-        "This release of Apache Tomcat was packaged to run on J2SE 5.0 \n"
-        + "or later. It can be run on earlier JVMs by downloading and \n"
-        + "installing a compatibility package from the Apache Tomcat \n"
-        + "binary download page.";
-
-
     /**
      * Daemon object used by main.
      */
@@ -390,19 +383,6 @@ public final class Bootstrap {
      */
     public static void main(String args[]) {
 
-        try {
-            // Attempt to load JMX class
-            new ObjectName("test:foo=bar");
-        } catch (Throwable t) {
-            System.out.println(JMX_ERROR_MESSAGE);
-            try {
-                // Give users some time to read the message before exiting
-                Thread.sleep(5000);
-            } catch (Exception ex) {
-            }
-            return;
-        }
-
         if (daemon == null) {
             daemon = new Bootstrap();
             try {