aws / aws-toolkit-eclipse

(End of life: May 31, 2023) AWS Toolkit for Eclipse

Home Page:http://aws.amazon.com/eclipse

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AWS Lambda function upload failing after updating to JDK1.8.0_271

subodhkothadia opened this issue · comments

Hi,

I am using Eclipse Version: 2020-09 (4.17.0), Build id: 20200910-1200 for my java code. Recently, I am learning AWS Lambda and noticed that it failed to upload project to Lambda when used Eclipse.

I am following the lambda tutorial using Eclipse at "https://docs.aws.amazon.com/toolkit-for-eclipse/v1/user-guide/lambda-tutorial.html ". When I click on "Finsh" button, it throws the exception and shows errors. When I learned from issue 171 @ #171, it doesn't support the version 14. Hence, I changed project settings to JDK 1.8,0_271. However, I am still getting the same error and it shows in session data of exception as eclipse.buildId=4.17.0.I20200902-1800
java.version=14.0.2
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.java.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product

I have attached here the screen snaps for perusal. Need help why the issue is occurring
Java Compiler set to JDK 1 8
Library Updated to Java SE 1 8
Jar Creation Failure
Failed to Upload project to Lambda
Environment Variables Java Home and Path set to JDK1 8 0_271
Installed JRE Changed to JDK1 8 in Eclipse
Exception Thrown Event After updating Java 1 8

and what I am missing?

Hi There,

I'm having the same issue. I'm using Eclipse to upload a Rekognition function but keep getting an error message. According to the Lambda manual it supports Java11, java8.al28, and java8 (1.8.0) but I've tried all of these and none work. Any progress on your end?

Thanks,

Nick