I have found out that even though you have Java 5 installed, the JVM running may be different. Try typing this in the console window: java -version. It will give you the Version of the Runtime Environment, and see what it returns.
I hope it's OK to respond to this thread. I can start a new one if that is appropriate but this one was recent and concerns my issue.
I am trying to build Eclipse/ECF. We have a build machine on OSU. We added the new Smack version 3.1.0 and get the error...
ERROR in ...org.jivesoftware.smack/.../WorkgroupForm.java
Syntax error, parameterized types are only available if source level is 1.5
My eclipse shows a Java compliance level of 1.6.Windows->Preferences->Compiler
and I have jdk1.6.0_16 checked under Installed JREs.
java -version gives me
java version "1.6.0_16"
Java(TM) SE Runtime Envirnment (build 1.6.0_16-b01)
Java HotSpot(TM) 64-Bit Server VM (build 14.2-b01, mixed mode)
We've spent a bunch of time on this today and I'm stuck.
We run on Linux. This is the official Eclipse/ECF build.
I attached a portion of our log.
This is a headless build with cruisecontrol/ant but used the eclipse described above. It worked before the Smack addition.
I'd really very much appreciate some advice.
AHEADv20091104-1349.log.zip 1.2 KB
I should also apologize because I misread the date and the original post was not as recent as I had first thought. -ted