2

What is the issue in using Java 8 along with Google App Engine SDK? The Google App Engine SDK is separated from my application, which means that I'm using only the API, regardless of how they are implemented. In the same way, we can use an API that use Python language in a Java project.

What can't I use an API that is implemented by Java 7 on a Java 8 project?

Tunaki
  • 132,869
  • 46
  • 340
  • 423
hex
  • 515
  • 2
  • 4
  • 13

3 Answers3

0

Of cource, Google App Engine doesn't support Java 8. If you want use Java 7 in project with Java 8 is no problem. If you want use Java 8 in Java 7 projects is bad solution. If you want use dependencies (Google App Engine SDK) in your JDK 8 project, that is normal. If you want know all features of Java 8, then read here http://www.oracle.com/technetwork/java/javase/8-whats-new-2157071.html

Ivan
  • 992
  • 1
  • 10
  • 22
0

Calling the APIs is not the problem: e.g. you can have a Google Compute Engine with Java 8 installed and your Java 8 app can call the APIs.

But the problem is that AppEngine only supports Java 7 and thus it does not understand your Java 8 application: e.g. It is the same, as if you want to start your Java 8 app on a PC where only Java 7 is installed.

TmTron
  • 17,012
  • 10
  • 94
  • 142
0

Java 8 cannot be used with the App Engine standard environment at this time though much work is being done to bring this support soon. The App Engine feature request for Java 8 support is the issue to track for this.

In the meantime, one can use the flexible environment to deploy a Java 8 application though this is currently in Beta.

Please note that one cannot use Java 8 with the standard environment because the App Engine SDK and the runtime use Java 7. When building your application, they are built together and then deployed. This is why they must all be using Java 7.

Nicholas
  • 1,676
  • 12
  • 35