{"id":28558517,"url":"https://github.com/shelfio/java-lambda-layer","last_synced_at":"2025-06-10T08:09:06.521Z","repository":{"id":66338733,"uuid":"247768127","full_name":"shelfio/java-lambda-layer","owner":"shelfio","description":"AWS Lambda layer with Java 8","archived":false,"fork":false,"pushed_at":"2025-05-30T03:38:59.000Z","size":51399,"stargazers_count":12,"open_issues_count":2,"forks_count":0,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-05-30T04:34:08.815Z","etag":null,"topics":["aws","aws-lambda","java-8","lambda-layer"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shelfio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-03-16T16:45:15.000Z","updated_at":"2023-12-12T19:10:57.000Z","dependencies_parsed_at":"2025-05-14T22:35:50.962Z","dependency_job_id":null,"html_url":"https://github.com/shelfio/java-lambda-layer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shelfio%2Fjava-lambda-layer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shelfio%2Fjava-lambda-layer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shelfio%2Fjava-lambda-layer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shelfio%2Fjava-lambda-layer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shelfio","download_url":"https://codeload.github.com/shelfio/java-lambda-layer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shelfio%2Fjava-lambda-layer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259033838,"owners_count":22795772,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","aws-lambda","java-8","lambda-layer"],"created_at":"2025-06-10T08:09:05.173Z","updated_at":"2025-06-10T08:09:06.508Z","avatar_url":"https://github.com/shelfio.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"## AWS Lambda layer with Java 8\n\nThe purpose of this layer is to have externalized Java 8, so we can attach it to the lambda whenever it's needed by software we use.\n\nE.g. after AWS Lambda started to use Amazon Linux 2 OS, Node.js runtime 12.x, 10.x doesn't have Java installed. Previously we had it installed with Node.js 8.10 (Amazon Linux OS), so we were able to use it for other software needs (e.g. Apache Tika).\n\n## Getting Started\n\nClick on Layers and choose \"Add a layer\", and \"Provide a layer version\nARN\" and enter the following ARN.\n\n```\narn:aws:lambda:us-east-1:764866452798:layer:java:3\n```\n\n## Where it can be used?\n\nThis layer was initially designed for [Apache Tika Lambda layer](https://github.com/shelfio/apache-tika-lambda-layer) to run on Node.js 12.x runtime, but you can use it for any other purpose you want.\n\n## What is the executable path to Java inside of Lambda when I attached the layer?\n\nYou can find it at `/opt/lib/jvm/java-1.8.0-openjdk-1.8.0.222.b10-0.lambda2.0.1.x86_64/jre/bin/java` (`/opt` is a location where lambda unpacks layers).\n\n## Available regions\n\n* ap-northeast-1: `arn:aws:lambda:ap-northeast-1:764866452798:layer:java:1`\n* ap-northeast-2: `arn:aws:lambda:ap-northeast-2:764866452798:layer:java:1`\n* ap-south-1: `arn:aws:lambda:ap-south-1:764866452798:layer:java:1`\n* ap-southeast-1: `arn:aws:lambda:ap-southeast-1:764866452798:layer:java:1`\n* ap-southeast-2: `arn:aws:lambda:ap-southeast-2:764866452798:layer:java:1`\n* ca-central-1: `arn:aws:lambda:ca-central-1:764866452798:layer:java:1`\n* eu-north-1: `arn:aws:lambda:eu-north-1:764866452798:layer:java:1`\n* eu-central-1: `arn:aws:lambda:eu-central-1:764866452798:layer:java:1`\n* eu-west-1: `arn:aws:lambda:eu-west-1:764866452798:layer:java:1`\n* eu-west-2: `arn:aws:lambda:eu-west-2:764866452798:layer:java:1`\n* eu-west-3: `arn:aws:lambda:eu-west-3:764866452798:layer:java:1`\n* sa-east-1: `arn:aws:lambda:sa-east-1:764866452798:layer:java:1`\n* us-east-1: `arn:aws:lambda:us-east-1:764866452798:layer:java:3`\n* us-east-2: `arn:aws:lambda:us-east-2:764866452798:layer:java:1`\n* us-west-1: `arn:aws:lambda:us-west-1:764866452798:layer:java:1`\n* us-west-2: `arn:aws:lambda:us-west-2:764866452798:layer:java:1`\n\n### How to create a fresh zip archive with Java 8\n\n```bash\nmkdir java\n\ndocker run --rm -v \"$PWD\"/java:/lambda/opt lambci/yumda:2 yum install -y java-1.8.0-openjdk-headless.x86_64\n\ncd java\nzip -yr ../java .\ncd ..\n\nrm -R java\n```\n\n## License\n\nMIT © [Shelf](https://shelf.io)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshelfio%2Fjava-lambda-layer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshelfio%2Fjava-lambda-layer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshelfio%2Fjava-lambda-layer/lists"}