Version mismatch : Java compiler issue

Community Driven Extensions Project
vineet
Posts: 387
Joined: 14 Oct 2011, 23:40

28 Feb 2012, 20:44

Hi ,

It looks like PE is not compatible with Java 1.5 . Please confirm as i am getting the error of version mismatch .

i am using WAS 6.1 , PF3.2 snapshot, Mojarra2.1.4

User avatar
Oleg
Expert Member
Posts: 3805
Joined: 02 Oct 2009, 09:41
Location: Germany, Black Forest

28 Feb 2012, 21:35

Hi,

Can you not use Java 6? I think there are less places in PF Extensions which are not compatible with Java 1.5. AFAIK it's only @Override annotation.
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin

vineet
Posts: 387
Joined: 14 Oct 2011, 23:40

28 Feb 2012, 21:36

Problem is the WAS version :(

User avatar
Oleg
Expert Member
Posts: 3805
Joined: 02 Oct 2009, 09:41
Location: Germany, Black Forest

28 Feb 2012, 21:41

We will discuss this issue internal and update this topic tomorrow. Generated classes are targeted with Java 6 at the moment.
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin

User avatar
Oleg
Expert Member
Posts: 3805
Joined: 02 Oct 2009, 09:41
Location: Germany, Black Forest

29 Feb 2012, 11:41

We decided to stick with Java 6. Java 5 is a relative "old" version. Sorry.

If you want you can check out the code http://code.google.com/p/primefaces-ext ... e/checkout, remove @Override and build it with Java 5 for your purpose.

Thanks.
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

29 Feb 2012, 11:43

I think JSF core supports Java5 and PrimeFaces as well.

User avatar
Oleg
Expert Member
Posts: 3805
Joined: 02 Oct 2009, 09:41
Location: Germany, Black Forest

29 Feb 2012, 12:00

Ah ok. If JSF core and PrimeFaces support Java 5 we will remove @Overrides and change target plattform in pom.xml. I'm starting the work...
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin


User avatar
Oleg
Expert Member
Posts: 3805
Joined: 02 Oct 2009, 09:41
Location: Germany, Black Forest

29 Feb 2012, 12:54

Yes, I know this.

Done. We're now compatible to Java 5.
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin

vineet
Posts: 387
Joined: 14 Oct 2011, 23:40

01 Mar 2012, 00:32

From where can i download the latest jar which is compatible with 1.5 ?

Post Reply

Return to “Extensions”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 9 guests