Loading ...
Sorry, an error occurred while loading the content.

Runtime error

Expand Messages
  • Mark Ryall
    Hi This is my dos prompt... C: 3rd Year Project Info Routing Protocol Language java antlr.Tool Test.g ANTLR Parser Generator Version 2.7.1 1989-2000
    Message 1 of 4 , Nov 30, 2001
    • 0 Attachment
      Hi

      This is my dos prompt...


      C:\3rd Year Project Info\Routing Protocol Language>java antlr.Tool
      Test.g
      ANTLR Parser Generator Version 2.7.1 1989-2000 jGuru.com
      java.lang.NoClassDefFoundError: antlr/DefaultToolErrorHandler
      at antlr.Tool.<init>(Tool.java:33)
      at antlr.Tool.main(Tool.java:320)

      I dont understand what this means?

      And how to fix it

      Regards

      Mark
    • Andy Carpenter
      ... It means that you don t have either the antlr jar or the directory containing the antlr class files on your classpath. Andy.
      Message 2 of 4 , Nov 30, 2001
      • 0 Attachment
        > C:\3rd Year Project Info\Routing Protocol Language>java antlr.Tool
        > Test.g
        > ANTLR Parser Generator Version 2.7.1 1989-2000 jGuru.com
        > java.lang.NoClassDefFoundError: antlr/DefaultToolErrorHandler
        > at antlr.Tool.<init>(Tool.java:33)
        > at antlr.Tool.main(Tool.java:320)
        >
        > I dont understand what this means?
        >
        > And how to fix it

        It means that you don't have either the antlr jar or the directory
        containing the antlr class files on your classpath.

        Andy.
      • Mark Ryall
        Hi My class path = .;C: jdk1.1.8 lib classes.zip;C: antlr-2.7.1 antlr.jar and my path =
        Message 3 of 4 , Nov 30, 2001
        • 0 Attachment
          Hi

          My class path = .;C:\jdk1.1.8\lib\classes.zip;C:\antlr-2.7.1\antlr.jar

          and my path =
          %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\JDK1.1.8\BIN

          is this ok??

          Mark

          Andy Carpenter wrote:

          > > C:\3rd Year Project Info\Routing Protocol Language>java antlr.Tool
          > > Test.g
          > > ANTLR Parser Generator Version 2.7.1 1989-2000 jGuru.com
          > > java.lang.NoClassDefFoundError: antlr/DefaultToolErrorHandler
          > > at antlr.Tool.<init>(Tool.java:33)
          > > at antlr.Tool.main(Tool.java:320)
          > >
          > > I dont understand what this means?
          > >
          > > And how to fix it
          >
          > It means that you don't have either the antlr jar or the directory
          > containing the antlr class files on your classpath.
          >
          > Andy.
          >
          >
          >
          > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
        • mzukowski@bco.com
          The antlr.jar is for distribution with your generated parsers. You need the antlr directory in your classpath too:antlr-2.7.1/antlr Monty
          Message 4 of 4 , Nov 30, 2001
          • 0 Attachment
            The antlr.jar is for distribution with your generated parsers. You need the
            antlr directory in your classpath too:antlr-2.7.1/antlr

            Monty

            > -----Original Message-----
            > From: Mark Ryall [mailto:mnr@...]
            > Sent: Friday, November 30, 2001 5:17 AM
            > To: antlr-interest@yahoogroups.com
            > Subject: Re: [antlr-interest] Runtime error
            >
            >
            > Hi
            >
            > My class path = .;C:\jdk1.1.8\lib\classes.zip;C:\antlr-2.7.1\antlr.jar
            >
            > and my path =
            > %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;
            > C:\JDK1.1.8\BIN
            >
            > is this ok??
            >
            > Mark
            >
            > Andy Carpenter wrote:
            >
            > > > C:\3rd Year Project Info\Routing Protocol Language>java antlr.Tool
            > > > Test.g
            > > > ANTLR Parser Generator Version 2.7.1 1989-2000 jGuru.com
            > > > java.lang.NoClassDefFoundError: antlr/DefaultToolErrorHandler
            > > > at antlr.Tool.<init>(Tool.java:33)
            > > > at antlr.Tool.main(Tool.java:320)
            > > >
            > > > I dont understand what this means?
            > > >
            > > > And how to fix it
            > >
            > > It means that you don't have either the antlr jar or the directory
            > > containing the antlr class files on your classpath.
            > >
            > > Andy.
            > >
            > >
            > >
            > > Your use of Yahoo! Groups is subject to
            > http://docs.yahoo.com/info/terms/
            >
            >
            >
            >
            > Your use of Yahoo! Groups is subject to
            > http://docs.yahoo.com/info/terms/
            >
            >
            >
          Your message has been successfully submitted and would be delivered to recipients shortly.