When I am trying to select JAVA 8 as the runtime for my AWS Lambda function It shows: The code editor does not support the Java 8 runtime. Has anyone faced issues like this? Please help me out! Thanks in advance.

When I am trying to select JAVA 8 as the runtime for my AWS Lambda function It shows: The code editor does not support the Java 8 runtime. Has anyone faced issues like this? Please help me out! Thanks in advance.

Building Lambda functions with Java
Since Java is a compiled language, you can't view or edit the source code in the Lambda console, but you can modify its configuration, invoke it, and configure triggers.
You code your Lambda logic by using the AWS Lambda Java runtime API in a Java IDE such as IntelliJ and then build the JAR file. You then upload the JAR file using the the Lambda console. Once you deploy the JAR, you can run the Lambda function like you can when you create the Lambda function in other programming languages.
To learn how to build Lambda functions using the AWS Lambda runtime API (that invokes other AWS Services such as Amazon DynamoDB), see this development tutorial:
Creating scheduled events to invoke Lambda functions
This walks you through the process step by step - including how to configure the required IAM roles.