Cloud shell Java version older than app engine

181 views
Skip to first unread message

E EE

unread,
May 2, 2017, 6:01:27 PM5/2/17
to Google App Engine
App engine for java is using Java 8 runtime, but cloud shell is still on Java 7. This means it cannot be used for compiling and deploying app engine apps that actually use Java 8.

Not technically a bug, but I think all the parts of the platform should be version compatible.

Les Vogel

unread,
May 2, 2017, 7:57:34 PM5/2/17
to Google App Engine
Hi,

Actually the GA version of App Engine Standard for Java is Java 7.  Java 8 is currently in a limited alpha.  Java 8 is also available for App Engine Flexible.

Java 8 is available in Cloud Shell by entering:
sudo update-java-alternatives -s java-1.8.0-openjdk-amd64

On Tue, May 2, 2017 at 3:01 PM, E EE <voice...@gmail.com> wrote:
App engine for java is using Java 8 runtime, but cloud shell is still on Java 7. This means it cannot be used for compiling and deploying app engine apps that actually use Java 8.

Not technically a bug, but I think all the parts of the platform should be version compatible.

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/826d0ee3-c619-4681-9537-ea5209f4424c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

  •  
Les Vogel
  •  Cloud Developer Relations
  •  le...@google.com
  •  +1-408-676-7023 

E EE

unread,
May 3, 2017, 2:38:57 PM5/3/17
to Google App Engine
Actually the documentation is all Java 8 with no mention of Java 7.
If you go to this page:
And expand the "Flexible Environment" node on the left the only Java version listed is 8.

Same with app.yaml:


Jordan (Cloud Platform Support)

unread,
May 4, 2017, 12:58:31 PM5/4/17
to Google App Engine
You are correct, since the App Engine Flexible environment is capable of hosting any runtime via Docker, the Java image offered in the documentation uses the newer Java 8 (just as Les stated). 

To reiterate Les' comment, the App Engine Standard Java runtime on the other hand is at Java 7. You can also request to have Java 8 on the Standard runtime which is currently available during the Alpha signup.  
Reply all
Reply to author
Forward
0 new messages