[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: Compiling for older version of java

How do you package your product, do you use an ANT-File?

Tom

joel schrieb:
Ed Merks wrote:

Joel,

I didn't think that Java 6.0 changed the class version levels again like Java 5.0 did. Java 5.0 changed the language significantly so there is additional information about generics that needs to be encoded in the ..class files, but I didn't think Java 6.0 had any such impact. So my suspicion would be you are actually trying to run with a 1.4 JRE when you are getting the error you reported. You could try setting your language level to 1.4 to confirm that...

Ed,

Thanks, but I am positive the OSX box has java version 1.5.0_07 as confirmed by running java -version. I just tried setting my Compiler Compliance level to 1.4, but I get the same result.

--Joel



--
B e s t S o l u t i o n . at
--------------------------------------------------------------------
Tom Schindl                                          JFace-Committer
--------------------------------------------------------------------