“PWC6345: There is an error in invoking javac.” error when using Jetty WTP plugin to deploy a JSP page on Jetty

后端 未结 14 1987
刺人心
刺人心 2020-11-30 00:54

I\'m trying to deploy a JSP-page on Jetty, using the Jetty WTP plugin for Eclipse. But I get the error below. It looks like Jetty can\'t find javac. Is there an

14条回答
  •  情话喂你
    2020-11-30 01:09

    I added this line to 'eclipse.ini' file which is present inside eclipse folder.

    -vm C:\Program Files\Java\jdk1.8.0_131\bin\javaw.exe

    and I also change the JRE path in eclipse

    windows -> preferences -> java -> Installed JREs

    and provided path upto jdk

    C:\Program Files\Java\jdk1.8.0_131

提交回复
热议问题