Sorry, But it probably comes from a missing JAVA_HOME in the configuration. And compilation occurs with JDK 1.5.
Tx everybody for your support. Stéphane -----Ursprüngliche Nachricht----- Von: Stéphane Amaudruz [mailto:[email protected]] Gesendet: Wednesday, March 25, 2009 5:49 PM An: [email protected] Betreff: AW: IPojo manipulation All come from a Maven build: >From super pom: <plugins> <!-- Always use Java 6 --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>6</source> <target>6</target> </configuration> </plugin> </plugins> Everythings works nice on WinXP. Error appears on Mac: java version "1.6.0_07" Java(TM) SE Runtime Environment (build 1.6.0_07-b06-153) Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_07-b06-57, mixed mode) Strangly it seems to appears only for IPojo manipulated class. Stephane -----Ursprüngliche Nachricht----- Von: Clement Escoffier [mailto:[email protected]] Gesendet: Wednesday, March 25, 2009 5:23 PM An: [email protected] Betreff: Re: IPojo manipulation Hi, I've a mac too and I have no problem with the 64b VM. Could you give me more detail about the class target version you use and the version of your VM ? Regards, Clement On 25.03.2009, at 17:17, Stéphane Amaudruz wrote: > Bonjour, > > > > We are running iPojo and getting this error: > > java.lang.UnsupportedClassVersionError: Bad version number in .class > file > > > > It appears only in MacOsX. > > > > Is it possible that the manipulation is not compatible with 64bit > JVM ? > > > > Tx, Stephane > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

