Trying to get started with Google App Engine - does it work with Java 8?
I\'ve followed the instructions on this page: https://console.developers.google.com/start/ap
Yes, using App Engine flexible environment. Here are the official docs: https://cloud.google.com/appengine/docs/flexible/java/
And here is the github repo for this implementation: https://github.com/GoogleCloudPlatform/appengine-java-vm-runtime
You can apparently use JDK8 to create JRE7 compatible byte code, and this seems to be what Google recommends: https://cloud.google.com/appengine/docs/standard/java/download
-source 1.7 -target 1.7
Not at the time of writing but you can keep track of the status in this issue:
Add <runtime>java8</runtime>
to your appengine-web.xml file.
Yes, You can use flexible environment. and change setting of your app.yaml
vm: true
for more information study https://cloud.google.com/appengine/docs/flexible/
If your interest is in using lambda expressions on Google App Engine, you could give Retrolambda a try. I haven't tried it yet, but it claims to backport Java 8 lambda expressions to Java 7.