Skip to content

Commit 2ecab87

Browse files
committed
Update s3-java to use java21
1 parent 5dc7858 commit 2ecab87

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

sample-apps/s3-java/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The project source includes function code and supporting resources:
1414
Use the following instructions to deploy the sample application.
1515

1616
# Requirements
17-
- [Java 8 runtime environment (SE JRE)](https://www.oracle.com/java/technologies/javase-downloads.html)
17+
- [Java 21 runtime environment (SE JRE)](https://www.oracle.com/java/technologies/javase-downloads.html)
1818
- [Gradle 5](https://gradle.org/releases/) or [Maven 3](https://maven.apache.org/docs/history.html)
1919
- The Bash shell. For Linux and macOS, this is included by default. In Windows 10, you can install the [Windows Subsystem for Linux](https://docs.microsoft.com/en-us/windows/wsl/install-win10) to get a Windows-integrated version of Ubuntu and Bash.
2020
- [The AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html) v1.17 or newer.

sample-apps/s3-java/template.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Resources:
1010
Properties:
1111
CodeUri: build/distributions/s3-java.zip
1212
Handler: example.Handler
13-
Runtime: java8
13+
Runtime: java21
1414
Description: Java function
1515
MemorySize: 512
1616
Timeout: 30
@@ -42,4 +42,4 @@ Resources:
4242
Description: Dependencies for the Java S3 sample app.
4343
ContentUri: build/s3-java-lib.zip
4444
CompatibleRuntimes:
45-
- java8
45+
- java21

0 commit comments

Comments
 (0)