Re: class file has wrong file version 51.0, should be 49.0

2015-07-25 Thread Thomas Broyer
On Wednesday, June 17, 2015 at 2:35:34 PM UTC+2, frank ho wrote: > > my environment is : > > windows 7, 32 bit, two jdk, one is 1.5, another is 1.7, google gwt, jetty, > ant, two eclipse, one is kepler, another is luna. > > > for kepler, I set its jdk is 1.5, and use ant to compile and jar, th

Re: class file has wrong file version 51.0, should be 49.0

2015-07-24 Thread frank ho
I didn't use Maven. On Thursday, June 18, 2015 at 9:07:22 PM UTC+8, Jens wrote: > > > what I am missing? >> > > Maven should also use Java 1.7 for compilation, not just the IDE. I would > guess Maven uses the JAVA_HOME environment variable which might still point > to Java 5. > > -- J. > > --

Re: class file has wrong file version 51.0, should be 49.0

2015-06-18 Thread Jens
> what I am missing? > Maven should also use Java 1.7 for compilation, not just the IDE. I would guess Maven uses the JAVA_HOME environment variable which might still point to Java 5. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit"

Re: class file has wrong file version 51.0, should be 49.0

2015-06-18 Thread frank ho
Thanks Jens! Yes, it did as you said. I just cannot understand why because I have changed the jdk to 1.7 both in windows -> preference and project build path. what I am missing? On Wednesday, June 17, 2015 at 8:43:59 PM UTC+8, Jens wrote: > > Looks like you have class files compiled with Jav

Re: class file has wrong file version 51.0, should be 49.0

2015-06-17 Thread Jens
Looks like you have class files compiled with Java 1.7 but you still launch your common-web project using Java 1.5 which then does not understand classes compiled for Java 1.7. -- J. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To un

class file has wrong file version 51.0, should be 49.0

2015-06-17 Thread frank ho
my environment is : windows 7, 32 bit, two jdk, one is 1.5, another is 1.7, google gwt, jetty, ant, two eclipse, one is kepler, another is luna. for kepler, I set its jdk is 1.5, and use ant to compile and jar, this works, and eclipse can open the gwt window when debugging. then i use luna, c