Deployment for java8 runtime fails
See original GitHub issueDescribe the bug Trying to deploy a serverless application using the java8 runtime fails. When trying to deploy a serverless application for runtime java8, the tooling invokes sam build. sam build does not support the java8 runtime (only python).
To reproduce
- Create a new project
- Select the helloworld template
- Right click on template.yaml
- Select deploy serverless application
- Create a stack and bucket, click deploy
- Log shows:
2018-12-20 16:02:42 Found credentials in shared credentials file: ~/.aws/credentials
2018-12-20 16:02:43 Building resource 'HelloWorldFunction'
Build Failed
Error: 'java8' runtime is not supported
Expected behavior I expect the serverless application to be deployed to my (live) aws environment.
Screenshots

Your Environment
- OS: Mac OS X 10.13.6
- JetBrains’ Product: IntelliJ Idea
- JetBrains’ Product Version: 2018.3.2
- Toolkit Version: 1.0
Issue Analytics
- State:
- Created 5 years ago
- Reactions:7
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Software Deployment : Java 8 update 60 SCCM ... - ITNinja
Software Deployment : Java 8 update 60 SCCM deployment fails from SCCM but works fine with manual installation with same level access. Any...
Read more >EJBDeploy fails with error "Java runtime version not supported"
We have installed WAS 8.5.5.9 Base and JAVA 8 and also set JAVA 8 as the default SDK. When building the EJB, we...
Read more >Cannot process application with runtime: java8 - Stack Overflow
Hi Itried Deploying my project with java11 runtime with jar packaging , it only shows 500 service unavailable page. i can not find...
Read more >Known Issues for JDK 8 - Oracle
The workaround is to uninstall the existing 32-bit JRE and install it again. The "Enable Java Access Bridge" check box will appear after...
Read more >Bad error message on deploying Java 8 app on Java 7 runtime
Probably a gcloud bug. This has nothing to do with Java 6. ERROR: (gcloud.app.deploy) INVALID_ARGUMENT: Java 6 applications are prevented ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Ah, I forgot we had that check. I need to mark the Java RuntimeGroup as supporting SAM build.
1.2 has been released with support