[antlr-interest] ANTLRWorks 1.03b - can't connect to debugger (timeout)

Sandeep Gupta sandy.pec at gmail.com
Wed Sep 20 20:47:21 PDT 2006


Hi Mark,

The error is due to the fact that you are trying to run it on JDK
1.4probably. But as you mentioned that you are using JDK
1.5.0.01, please check your JAVA_HOME environment variable and also your
PATH settings. It seems the JRE, your system is picking up is for JAVA 1.4.
(Evident from the fact that the error says "Unsupported
major.minor version 49.0", the version 49.0 being for JDK 1.5

Hope this helps.


Regards,

Sandeep Gupta








Hi Guys,

Just uploaded antlrworks 1.03b and got this message when starting a
debug session:

"Connection Error" "Cannot launch the debugger" "Time-out waiting to
connect to the remote parser.

I didn't have this problem with 1.01b. See the message below. Any
thoughts? (using jdk1.5.0_01 and antlr 3.0b4)

Cheers,

mrh.


debugger output message:

java.lang.UnsupportedClassVersionError: __Test__ (Unsupported
major.minor version 49.0)
       at java.lang.ClassLoader.defineClass0(Native Method)
       at java.lang.ClassLoader.defineClass(Unknown Source)
       at java.security.SecureClassLoader.defineClass(Unknown Source)
       at java.net.URLClassLoader.defineClass(Unknown Source)
       at java.net.URLClassLoader.access$100(Unknown Source)
       at java.net.URLClassLoader$1.run(Unknown Source)
       at java.security.AccessController.doPrivileged(Native Method)
       at java.net.URLClassLoader.findClass(Unknown Source)
       at java.lang.ClassLoader.loadClass(Unknown Source)
       at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
       at java.lang.ClassLoader.loadClass(Unknown Source)
       at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Exception in thread "main"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20060921/cc2c8426/attachment.html 


More information about the antlr-interest mailing list