Can I use JavaCompiler in a Google Engine application?

Is there a way to invoke the original Java compiler through the JavaCompiler in the Google App Engine?

(I have not seen any classes in javax.tools in the white list, so I'm afraid the answer is no)

UPDATE

I am wondering how Java server pages work in the Google App Engine, since JSPs are compiled into servlets, which would obviously require a Java compiler?

+1
source share
1 answer

The answer is no (AFAIK).

One reason you don't see javax.tools classes on the GAE JRE class javax.tools is because they are not JRE classes! You need to install the JDK to use the Java development tools ... including the compiler.

+1
source

Source: https://habr.com/ru/post/1346722/


All Articles