• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Jj Roberts
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Himai Minh
  • Carey Brown
  • salvin francis

Error- The code editor does not support the Java 8 runtime.

 
Ranch Foreman
Posts: 2060
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am creating a hello world lambda function in AWS. I selected runtime as Java8 as java is one of the languages supported for lambda function, but it says The code editor does not support the Java 8 runtime. What can be the issue? thanks.
 
Saloon Keeper
Posts: 12488
269
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It seems to me that the issue is literally what the error message says: The editor does not support Java 8.
 
Monica Shiralkar
Ranch Foreman
Posts: 2060
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks. I was thinking that since lambda expressions have suport for Java,Node.js etc , the editor which it uses impicitly also has support for them.I had checked for NodeJS and it was showing the function code.

For Java 8 it creates the function and I can click on test successfully  but I could not see the code it generated. May be I can open it in some other way.Also will check for Java instead of Java 8 too. It is bit surprising that editor doesnt support Java 8 when AWS supports Java programing language.
 
Monica Shiralkar
Ranch Foreman
Posts: 2060
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The better way I see to do in Java is by creating a jar using Eclipse Maven project and uploading the jar. Not sure though on why the editor does not support Java 8 despite AWS lambdas supporting Java 8. For now I will learn by doing using Eclipse.
 
Marshal
Posts: 3257
487
Android Eclipse IDE TypeScript Redhat MicroProfile Quarkus Java Linux
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Monica Shiralkar wrote:I am creating a hello world lambda function in AWS ... The code editor does not support the Java 8 runtime. What can be the issue?



https://docs.aws.amazon.com/lambda/latest/dg/code-editor.html wrote:The Lambda console provides a code editor for languages that do not require compiling, such as Node.js or Python.

 
Monica Shiralkar
Ranch Foreman
Posts: 2060
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks. So that's the reason.

Azure Cloud supports editor for C# too(a language that needs compilations )

So I see that AWS has different behaviour that Azure for a similiar thing.

I am doing it using Java with Eclipse now by uploading the jar.
 
I think she's lovely. It's this tiny ad that called her crazy:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic