Peter Johnson wrote:Try this. Just build the app and then from a command line run "javap -verbose" against one of your class files...
I just tried the javap -verbose and it returned this:
"Error: bad class format.\KISSettings.classThe major.minor version '49.0' is too recent for this tool to understand."
I see a similar result when I run the ant script inside
eclipse that used
to be used to build the ear. It states:
But please note, if I run the ant script from a cmd prompt, it builds the ear just fine...I can't even hazard a guess at this point. Is it CVS related? Is it still a compiler problem?
Have you tried installing a 1.4.2 JDK, registering it with Eclipse, and setting your project to use that JDK? (Having multiple JDKs installed is not a problem, I have 1.3.1, 1.4.1, 1.4.2, 1.5, 6 and 7 on my PC.) If it is an issue with JDK 6, then doing this should solve the problem.
All I have done is place the JDK in C:\j2sdk1.4.1_02\ and that is set to JAVA_HOME. In eclipse's Project Properties -->Java Compiler I have 'Compiler compliance level' set to 1.4...however the JRE is jre6...