9 May 18:12
[groovy-dev] JDK 5 vs 6 with Eclipse IDE plugin: Bad version number in .class file
From: M Stewart <zouzousdad@...>
Subject: [groovy-dev] JDK 5 vs 6 with Eclipse IDE plugin: Bad version number in .class file
Newsgroups: gmane.comp.lang.groovy.devel
Date: 2008-05-09 16:13:08 GMT
Subject: [groovy-dev] JDK 5 vs 6 with Eclipse IDE plugin: Bad version number in .class file
Newsgroups: gmane.comp.lang.groovy.devel
Date: 2008-05-09 16:13:08 GMT
I've tried the "stable" release of the Eclipse plugin as well the as dev version (as of today) and they are both exhibiting this same problem: I create a new Java project, add a groovy source folder, create a file, run it via Run As Groovy. All's well. Then I make a change and try running it again only to find that the plugin didn't recompile. Annoyed I right click on the file in the Package Explorer and select "Compile Groovy File" (not sure why this option exists.) In response I get an error dialog that says: An internal error occurred during: "Compiling selected Groovy files.". Bad version number in .class file Once this occurs Eclipse starts acting horribly flakey. Various menu items including Run As menu item won't draw. If you try running the groovy class through the Run As dialog you get a NoClassDefFoundError. It's pretty awful. I am developing on MacOS (Leopard.) Eclipse will have nothing to do with Apple's 64 bit JVM (all that 32 bit Carbon code, I guess) so it's running on a Java 5 JVM but I have configured it to use Apple's latest Java 1.6 as the JRE because my team is using Java 6. Is the Groovy plugin hard coded to use the same JVM as Eclipse by any chance? I am completely dead in the water at this point. Does anyone have any ideas about what's happening here or (more importantly) how to resolve it? Thanks, Mark -- -- View this message in context: http://www.nabble.com/JDK-5-vs-6-with-Eclipse-IDE-plugin%3A-Bad-version-number-in-.class-file-tp17151350p17151350.html Sent from the groovy - dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
RSS Feed