Java 1.7 and JSF 1.2 compatibility

2.3k Views Asked by At

I'm working to upgrade JDK for a Web app from 1.4 to 1.7 and Websphere Application server 6.1 to 8.5 (WAS 6.1 to 8.5).

The application is built using JSF 1.2. My question is does JSF 1.2 is compatible with Java 1.7 or does it require to upgrade JSF 1.2 to 2.0? Any pointers in this relation is most valuable.

Thanks in advance.

3

There are 3 best solutions below

0
On

JSF 1.2 is compitible with java 1.6. You can change your version of java in a Project>Build Path>Configure then select Java to change it

If you want to use java 7, then you need to move on JSF 2.0

0
On

You can use JSF 1.2 with WAS 8.5, you will need to change default JSF via application options Applications > Application Types > WebSphere enterprise applications > application_name > JSP and JSF options and switch to Sun Reference Implementation 1.2.

For more details see Configuring JavaServer Faces implementation

0
On

I had issues with JSF 1.2 and JDK > 7.0.21 I do not remember the exact cause, but that was a known issue and never fixed.