org.apache.jasper.JasperException: PWC6345: There is an error in invoking javac. A full JDK (not just JRE) is required

2

I have problems with lifting the .war. It worked super well in Glassfish, but from one moment to the next without any change, it stopped working. I have configured the asenv.bat with

set AS_JAVA  =C:\Program Files\Java\jdk1.8.0_91

But it does not work, it keeps giving the same error.

    
asked by elsa 17.06.2016 в 15:21
source

1 answer

1

for some unknown reason, the path had been deconfigured, also missing the JAVA_HOME, then configure it again, the issue is that it still did not work, it is important that the change is well done, verifying by CDM, with the command 'set' shows the variables, and to my surprise, it was not being taken but in the advanced settings if they were saved, then for the system to take it, it had to restart the pc, after that, check again for cmd and they appeared that:)

    
answered by 21.06.2016 в 17:24