2 Replies Latest reply on Jan 8, 2016 1:26 AM by Jay SenSharma

    Not able to change java home path in wildfly 9.0.2

    Nishant Agrawal Novice

      Hi ,

      I am using java 8 and when I am trying to deploy war file on wildfly server . Its giving error :

       

      Caused by: java.lang.UnsupportedClassVersionError: demo/Demo_Servlet : Unsupported major.minor version 52.0

        at java.lang.ClassLoader.defineClass1(Native Method)

       

      My system variable and all java path are set properly to java 8.

       

      Only java home path for wildfly server is set to java 7. I tried to changed it through admin console of wildfly server.

      On clicking on edit, it again change back to java 7 path.Changes are not getting updated.wildfly.JPG

       

      Can someone please help on this.