简体   繁体   中英

Can I use JavaCompiler in Google app Engine?

Is there a way to invoke the Java source compiler via JavaCompiler in Google App Engine?

(I didn't see any classes in javax.tools on the white list, so I'm afraid the answer is no )

UPDATE

I'm wondering how Java Server Pages work in Google App Engine, since JSPs are compiled to servlets, which obviously would require a Java compiler?

The answer is no (AFAIK).

One reason that you don't see the javax.tools classes in the GAE JRE class whitelist is that they are not JRE classes! You need a JDK installation to use the Java development tools ... including the compiler.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM