question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Deployment for java8 runtime fails

See original GitHub issue

Describe 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

  1. Create a new project
  2. Select the helloworld template
  3. Right click on template.yaml
  4. Select deploy serverless application
  5. Create a stack and bucket, click deploy
  6. 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 screen shot 2018-12-20 at 16 34 00

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:closed
  • Created 5 years ago
  • Reactions:7
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
abrooksvcommented, Mar 12, 2019

Ah, I forgot we had that check. I need to mark the Java RuntimeGroup as supporting SAM build.

0reactions
abrooksvcommented, Mar 27, 2019

1.2 has been released with support

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found