
Hello, I want to make a function in the java/ folder. By default the runtime options don't include Java. I have looked at https://github.com/appwrite/appwrite/discussions/4826#discussioncomment-4338536 to use Java. But I get an error:
=> ERROR [examples 2/2] COPY examples.jar examples.jar 0.0s
after doing: docker compose up -d
I will provide the screenshot on how I changed the env. file and the terminal.

umm it looks like you're running docker compose up -d
in the wrong folder. You should be running it in the appwrite folder where your docker-compose.yml and the .env file you modified is.
Also, you have an extra space in your runtimes environment variable.

Thank you Steven it worked

[SOLVED] How to add Java Runtime?
Recommended threads
- ❗[Help] Function stuck in "waiting" stat...
Hi Appwrite team 👋 I'm trying to contribute to Appwrite and followed the official setup instructions from the CONTRIBUTING.md guide to run the platform locall...
- Stuck in "deleting"
my parent element have relationship that doesnt exist and its stuck in "deleting", i cant delete it gives me error: Collection with the requested ID could not b...
- Help with 409 Error on Relationship Setu...
I ran into a 409 document_already_exists issue. with AppWrite so I tried to debug. Here's what I've set up: Collection A has 3 attributes and a two-way 1-to-m...
